You need to sign in to do that
Don't have an account?
Mike Corbett
Attempting to get access token fails
Hi all,
I am testing receiving the authentication token for my connected app so i can continue to build a simple consoleapp for salesforce.As a new developer of salesforce, I am having issues with testing Oauth through postman.
I followed this guide here https://blog.mkorman.uk/using-postman-to-explore-salesforce-restful-web-services/ , but to no avail.
When i click "request token", the salesforce login appears, however when i input my UN and PW i am given an error message reading
"Could not complete OAuth2.0 login"
I've also tried this way, and recieve an invalid_grant error, and have tried every body configuration.
Could someone point me in the right direction? I'd appreciate any help/tips. Thanks in advance!
I am testing receiving the authentication token for my connected app so i can continue to build a simple consoleapp for salesforce.As a new developer of salesforce, I am having issues with testing Oauth through postman.
I followed this guide here https://blog.mkorman.uk/using-postman-to-explore-salesforce-restful-web-services/ , but to no avail.
When i click "request token", the salesforce login appears, however when i input my UN and PW i am given an error message reading
"Could not complete OAuth2.0 login"
I've also tried this way, and recieve an invalid_grant error, and have tried every body configuration.
Could someone point me in the right direction? I'd appreciate any help/tips. Thanks in advance!
Check your header, it should be like below, replace the current one with your instance_url.
Let me know if this helps you.
Thanks!
I actually just discovered it was a small issue in the connected app settings. I just needed set Permitted Users to All users may self-authorize
I appreciate the response regardless!
Where to get this Permitted user, please send details. Thanks
i got the error while used the userid password option
You can refer to the blog :
https://medium.com/@shubham.jadhav3196/how-to-create-connected-app-and-get-access-token-ee78e0d8a9c
to see the complete process