run-aspnet-identityserver4 icon indicating copy to clipboard operation
run-aspnet-identityserver4 copied to clipboard

IdentityServer4 redirection failed for .NET Core2.1

Open anoosha503 opened this issue 2 years ago • 0 comments

-> In identityServer4 I am using version 2.5.4 ->.Net Core 2.1

Describe the bug

I created the IdentityServer project, it runs successfully, and I got the /.well-known/openid-configuration data also. And Then I create a client project, In this project when I hit the [Authorize] controller [e.g "https://localhost:6001/weatherforecast"], it will redirect to the IdentityServer for login. After logging in successfully, it will redirect to the client page. The above three steps are the actual process. But now the above two steps are working successfully, and after logging in, it will not redirect to the client page it will be on the identity server page only and I am not getting token also. When I enter my login credentials, on clicking the Log In button, it will redirect to the client page.

anoosha503 avatar May 22 '23 05:05 anoosha503