OAuth2 callback not doing anything

Hi folks,
I’m having a hard time getting OAuth2 authorizations to work in Postman. I understand the callback approach and every demo I see shows using the pstmn.io/v1/browser-callback but I’m using the app, and I’ve seen in help that the callback should be pstmn.io/v1/callback in that case. However, I get successfully through the authorization but postman never picks up the thread after that. I see a new tab in the browser with the auth code, and postman is waiting…so somehow I’m not making the connection back to postman with that callback.
Any tips or tricks to make this work?
Should I do it with the browser version of postman instead?
Should I use a different callback endpoint?
Do I need to have a service running to transfer the callback to the app, or is that included in the Postman app (as I assumed)?

I can get a token if I break the process into two discrete calls…one to get the browser tab to show me the code and then I manually put the code into the /token endpoint to get the bearer token. That works. It’s just not what I wanted to do. I want to get Postman OAuth2 working for all my other endpoints.

Hi @science-operator-139. Welcome to the Postman Community :postman:.

The callback endpoint to use when working in the desktop application is https://oauth.pstmn.io/v1/callback. You’re missing the “oauth” subdomain. For the web application, it is https://oauth.pstmn.io/v1/browser-callback.

FYI: We have an OAuth helper that makes it super easy to work with OAuth 2.0(and 1.0) in your authorization tab. It can help you auto refresh tokens when they expire and easily auth your APIs without having to care about details like the callback URI.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.