creating web app using dotnet 6 which should be using win auth. I have managed to run it locally on IIS Express by setting this (screenshot of launchsettings.json) in the launchSettings.json
I have followed this https://learn.microsoft.com/en-us/iis/configuration/system.webserver/security/authentication/windowsauthentication/ to enable windows authentication on the server IIS.
Now, when I enter the web url its asking for credentials. screenshot of login screen
And here comes the issue. Its asking for email as username. But on the server where the IIS is running, my windows account does not have any email set up. Just username. I am using the username/password to connect via Remote Desktop.
But here the credentials does not work.
When I enter them, the login screen re-appear again, and again.
Any idea where I have made mistake?
I was trying to go over the setting of my windows account on the server, I have also tried it from different computer and still the same result.