Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
166 views
in Technique[技术] by (71.8m points)

c# - Identityserver4 client can't reach the server in anonymous

I have a little problem. We have an intranet network. ASP.net Core and IdentityServer4. You can log in with the local user manually or by using a Windows user name. Users have a Claim named "adname". I can't find a solution to my problem. If both Windows and Anonymous auth are enabled, the client redirects to the identityserver, but I can't get the user's Windows name for comparison. If only Anonymous is enabled, the same is true. If only Windows Auth is enabled, everything on the identityserver side will work properly, but the client web page will not redirect it. Saying "Unathorized" and missing the anonymous login. In Startup.cs, AutomaticAuthentication is set to false.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
等待大神答复

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...