I am using Postman client for testing salesforce REST Services, but i am confused on how to get the Authorization page in the client. I am using the User agent flow and passing in the values and i am getting a HTML response but not the pop up for authorization where i can proceed, can we get the authorisation page in REST clients and is there any setting needed for this.

Attaching a screenshot which shows the HTML content which contains the Authorisation page, is there anything i am doing wrong?enter image description here

Since i am using a vanilla DE version i am not blanking out the client ID

I do see the Authorise screen on using the OOTB OAuth mechanism in Postman, that makes me think if i can see the Authorisation when i pass the OAuth parameters in the body manually.

enter image description here

2 Answers 2


Well any Oath flow you consider will only provide you HTML code with some javascript code that will redirect you to Salesforce/or any service authorization page.

The oauth flow you chose is webserver/UA which implies your server/client has GUI and can handle HTML redirect and hence normally you wont face any issue while implementing it at your end.

Here Postman is basically a request response analysis tool. And it does not redirect you to the endpoint provided.

Copy/pasting the url provided in HTML response in your normal browser will still allow you to get Authorised. But yay When you implement it fully you wont need any manual intervention then.

  • I do the see the Authorization screen when implementing OOTB postman OAuth, that made me think that i am missing something so that HTML page is rendered by my Client (Postman). Updated the screenshot in my question. Jul 9, 2016 at 17:39
  • So what is the way to test the Authorization from a client, i need to implement it? i am sure there must be a way to 'authorize' and 'test' your OAuth before you start implementation. Is there any other tool where i can do this? Jul 9, 2016 at 17:41
  • What kind of client you have? Desktop App,Android App? You wanna implement its any specific language? Cause standalone postman wont help much. Jul 10, 2016 at 4:16
  • SFDCFOX has elaborated how to use this using a java webapp. developer.salesforce.com/forums/?id=906F00000009BYUIA2 Jul 10, 2016 at 5:09
  • I want to implement a user agent flow and before starting to build the client, i want to test this flow in any testing tool, looks like that is going to be a challenge because of the Authorization page? Jul 10, 2016 at 5:36

Postman is for only handling the http requests and responses. This cannot be done.

You must log in to answer this question.

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