Postman is an API platform for building and using APIs. Postman simplifies each step of the API lifecycle and streamlines collaboration so you can create better APIs—faster.
Describe the bug
I am using Postman to request new access tokens from my authorization server. The authorization server has no problem issuing tokens to clients that implement well known oauth2-client libraries. The problem is only with Postman.
The auth server is Hydra from a know German company called Ory. The server checks for a CSRF value set in a cookie.
What happens is that Postman brings up a browser window where I see the user login screen (initial step for the token request). After the user logs in, the browser (Postman created browser window) closes immediately. I get an error in the console and when I check the logs of the authorization server it says that no CSFR value is available in the session cookie.
To Reproduce
Steps to reproduce the behavior:
Go to 'Authorization tab'
Select 'Oauth 2' from the type list
Click on 'Get new access token'
Compile the form
Click 'Request Token'
A small browser window appear with the login screen of the identity provider
Insert credentials and click 'Login'
The window shuts down immediately and an error appear in the console
The error log of the auth server says "No CSRF value found in the session cookie"
Expected behavior
Being able to go through the entire access token request flow
App information (please complete the following information):
Auth server: Hydra from Ory freshly setup following their install & setup guide
Identity Provider app from Ory as well (login/consent nodejs express app)
Describe the bug I am using Postman to request new access tokens from my authorization server. The authorization server has no problem issuing tokens to clients that implement well known oauth2-client libraries. The problem is only with Postman.
The auth server is Hydra from a know German company called Ory. The server checks for a CSRF value set in a cookie.
What happens is that Postman brings up a browser window where I see the user login screen (initial step for the token request). After the user logs in, the browser (Postman created browser window) closes immediately. I get an error in the console and when I check the logs of the authorization server it says that no CSFR value is available in the session cookie.
To Reproduce Steps to reproduce the behavior:
Expected behavior Being able to go through the entire access token request flow
App information (please complete the following information):