+ Add post
Hi team
I am facing some issues while trying to use AuthService.svc authentication service.
It gives an Invalid username or password error in postman
I am able login through UI using this URL with same credentails
https://125713-crm-bundle.creatio.com/0/Nui/ViewModule.aspx?autoOpenIdL…
While using URL : https://125713-crm-bundle.creatio.com/ to login to the UI,it gives same invalid credentials error
Curl request
curl --location --request POST 'https://125713-crm-bundle.creatio.com/ServiceModel/AuthService.svc/Login' \ --header 'Content-Type: application/json; charset=utf-8' \ --header 'Authorization: Basic Og==' \ --header 'Cookie: incap_ses_736_2810639=XsKPXlLmUi2BzUZdXc02CgLbSGMAAAAAWHTvMcbtyfjT2YVTHPT4Lg==; visid_incap_2810639=ptRsRV7qSlObOY/IbQg8ngLbSGMAAAAAQUIPAAAAAACnF2X5TfKFkDRlIYcWOjS2; BPMLOADER=fzoqb2lbireulifixkp3dh2q' \ --data-raw '{ "UserName":"carson.grimes@avoxi.com", "UserPassword":"xxxx" }'
Can someone let me know why I am not able to make authorization calls even though the credentials are valid?
Also, why does one of the creatio application URL(https://125713-crm-bundle.creatio.com/) gives an invalid error and whereas the same works with other URL(https://125713-crm-bundle.creatio.com/0/Nui/ViewModule.aspx?autoOpenIdL…) as mentioned above
Please help me to resolve this issue.
Thanks
Like
Hi I have tried invoking API by sending ForceUseSession: true header
Still getting same error
Curl Request
curl --location --request POST 'https://125713-crm-bundle.creatio.com/ServiceModel/AuthService.svc/Login' \ --header 'Accept: application/json' \ --header 'Content-Type: application/json; charset=utf-8' \ --header 'ForceUseSession: true' \ --header 'Cookie: incap_ses_736_2810639=XsKPXlLmUi2BzUZdXc02CgLbSGMAAAAAWHTvMcbtyfjT2YVTHPT4Lg==; visid_incap_2810639=ptRsRV7qSlObOY/IbQg8ngLbSGMAAAAAQUIPAAAAAACnF2X5TfKFkDRlIYcWOjS2; BPMLOADER=fzoqb2lbireulifixkp3dh2q' \ --data-raw '{ "UserName":"carson.grimes@avoxi.com", "UserPassword":"xxx" }'
Hi
Can some one look into this?
dev,
Please try to use the username instead of the mail ID in the Username field. Refer to this thread for the clarification:
https://community.creatio.com/questions/authservicesvc-invalid-username…
In new trials it uses the Creatio login, which won't work for API calls. Instead, make sure you set a password for the user in the system users area in Creatio and use that password for the API calls, not the Creatio ID login.
Ryan