No redirect with authorization token after successful sign-in

Hello everyone,

I’m trying to get an authorization token for testing purposes from an API , but I’ve run into some sort of problem. After a successful sign-in , instead of getting the auth token I’m being redirect to the login screen of my application.

The configuration is the following:

The API and Auth page are written in .Net Core and I’m using Identity Server 4 for authorization. Postman version is v7.18.0 . I’ve checked Postman console and I’m getting no error. The configuration is working correctly otherwise I would get a “unauthorized_client” error from Identity Server.
Here is a picture with Postman config:

I’ve tried with various Callback URL , the one with “getpostman”, the one with simply “postman” but the result is the same. The login is made via this page:

and after password insert, I get redirected to step 1 instead of getting the token. I’ve made some debug in Visual Studio and the login process works correctly.

Has anyone experienced a similar issue? Is there something I’m missing?

1 Like

I have the same issue. I try with C# MVC client and it works. So this is not an issue from Identity Server 4. Only Postman (and also Insomnia) cannot properly let me authenticate and retrieve the token from Identity Server 4.

It was working before.

Can someone of Postman team give us some guidance how to use Postman with latest Identity Server 4 in C#.

I’m glad I’m not the only one having this issue. It used to work before, I haven’t changed much on my authentication flow (I haven’t updated any package to newer version) but somehow it’s not working.

I’ve done some debugging and I’m suspecting it has something to do with Postman’s callback URL, because when I login into my app, everything is OK - claims , the return Url.

Similar issue here, but I am using Duende.IdentityServer version 6. It used to work, but now I just loop back to the login screen. I have tried these two as the callback URL: https://oauth.pstmn.io/v1/browser-callback
https://oauth.pstmn.io/v1/callback

I used to use https://www.getpostman.com/oauth2/callback and it worked before that URL was depreciated.

Bummer I can no longer use Postman ;-(

Switched to use grant type of client credentials, which does not require the callback. Seems to work now.