question

ahSHENG-1064 avatar image
0 Votes"
ahSHENG-1064 asked BruceZhang-MSFT commented

IIS infinite Windows Authentication

Hello,
I'm trying to set up windows authentication for my iis api. however , after enabling the windows authentication in iis, once my front end fire an api to the iis server , im getting infinite prompting of credential with any credential key in. i've tried various solution like disabling loopbackcheck , add to secure site . any help is appreciated.
Thanks

windows-server-iis
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi @ahSHENG-1064 ,

Did you disable loop back check in the registry? After disabling, did you restart the machine?

You could try to set this code in web.config:

 <authentication mode="Windows" />
 <authorization>
     <allow users="*" />
     <deny users="?" />
 </authorization>

Make sure the NTLM is the first provider and the Extended Protection is set to Accept under Advanced Settings.

0 Votes 0 ·

0 Answers