I'm having an issue where my client prompts for windows username/password when trying to use windows auth with IdentityServer4. I have tried following documentation, but it hasn't worked out for me at this point.
I'm using IIS Express for both projects.
I have two projects:
Server: Can login using Windows, and see all claims.
Client: Simple MVC app that redirects to Server, then returns to display claims.
When logging in with Windows on the server project, everything works well. When I login on the client, I am always prompted for a Username/Password prompt for windows. Which is not ideal.
Something I've noticed, on the server, in launchSettings.json
if I set "anonymousAuthentication": true
the client always prompts for the credentials. If I set "anonymousAuthentication": false
, the client almost seems work, but I get a 402 error on the .wellknown endpoints.