4

I need some help with getting Auth Token through Postman. Based on https://help.salesforce.com/HTViewHelpDoc?id=remoteaccess_oauth_username_password_flow.htm&language=en_US I have constructed a request getAuthToken . cs10 - is the right sales force instance, query params are also correct, but something is wrong. Not sure what is missing. Thanks.

2 Answers 2

4

This is an old question, but I have recently faced a similar issue and I thought I would rather post a more detailed answer than the one I posted initially.

I managed to get authentication via Postman. The key for me was to create a [Connected app] (https://help.salesforce.com/apex/HTViewHelpDoc?id=connected_app_overview.htm) and to connect using the "authorization code" grant type in OAuth.

I also wrote a step-by-step guide here:

http://blog.mkorman.uk/using-postman-to-explore-salesforce-restful-web-services/

1
  • Its better if you add a update section in your original answer instead of posting two different answer. Commented Aug 31, 2016 at 11:40
1

Have you appended your security token to your password in the "password" field? I was getting the same error until I added it.

3
  • This does not provide an answer to the question. To critique or request clarification from an author, leave a comment below their post.
    – crmprogdev
    Commented Aug 23, 2015 at 12:50
  • 1
    @crmprogdev this is a valid answer Commented Aug 23, 2015 at 18:08
  • @BrianMansfield. I "tagged" it when it came up in the queue because it appeared that it would have been more appropriate to post it as a comment rather than as an answer. Due to it's phrasing, it seemed to be asking for more information than it was providing in terms of answering the question. Just my $0.02.
    – crmprogdev
    Commented Aug 23, 2015 at 18:23

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .