IdentityServer4 icon indicating copy to clipboard operation
IdentityServer4 copied to clipboard

Get empty page when access the MVCClient that deployed in IIS

Open atpyk opened this issue 9 years ago • 4 comments

I used Kestrel to launch my MVCClient to test the OpenId authentication before, They worked fine. But when I deploy MVCClient in IIS and got an empty page when I call the default action that has been marked "Authorize" attribute. I found it cannot jump to the Login page automatically. How to solve this issue? Please help, thanks a lot.

atpyk avatar Dec 14 '16 08:12 atpyk

Is there any update for this issue? Besides that I found using IISExpress to launch the MVCClient, it also couldn't work.

atpyk avatar Dec 19 '16 04:12 atpyk

This happens in your client app - so this is not an issue with identity server I assume.

Check the MVC logs.

leastprivilege avatar Dec 19 '16 08:12 leastprivilege

I've found the root cause. The version of "Microsoft.AspNetCore.Authentication.Cookies" and "Microsoft.AspNetCore.Authentication.OpenIdConnect" should be 1.0.0, not be 1.1.0. There is no error and prompt message in IDE and Runtime, It's a tricky issue.

atpyk avatar Dec 20 '16 01:12 atpyk

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

lock[bot] avatar Jan 15 '20 07:01 lock[bot]