Your question may already have an answer on the community forum. Please search for related topics, and then read through the guidelines before creating a new topic.
Here’s an outline with best practices for making your inquiry.
My question:
I authenticate using OAuth 2.0 successfully and get redirected back to Postman.
In the console, I get an error: request URL is empty
I do not see the authorization code in the response for me to parse, but if I expand the error message and look in the Request Body > code, my authorization code is there!
I am able to use the authorization code to successfully obtain an Access Token as well.
I know this is an old thread… but for anyone in 2023 running into this lightly documented issue (like me), what solved it was entering the token endpoint the “Access Token URL” field.
I have the same issue with github OAuth2, the GET request going to Github is happening and when a user is authenticated and consent. POSTMAN is failing to do the POST of the callback URL.
Yet, I see location in response header of Github call from postman on the following endpoint “Sign in to GitHub · GitHub”
pointing to the right endpoint of callback
If I took this value manually and post a request manually. It return the token needed from Github. My issue on how can I tell postman to use this value to call back.
By the way, same endpoint is configured on Github OAuth app without the code parameter of course