尽管启用了Windows身份验证,但仍有登录提示 [英] Login prompt in spite of having windows authentication enabled

查看:45
本文介绍了尽管启用了Windows身份验证,但仍有登录提示的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们已在IIS中启用Windows身份验证(禁用了匿名访问),但是我收到提示输入应用程序的用户凭据已检查身份验证提供者,并且顺序也正确.

We have enabled Windows authentication (Anonymous access is disabled) in IIS but, I am getting prompt to enter user-credentials for application Checked for the providers under authentication and the order is correct as well.

任何指针都会有所帮助.有关信息,它是托管在IIS 7.5上的.NET应用程序

Any pointers would be helpful. For information is it a .NET application hosted on IIS 7.5

推荐答案

不知道它是否旧了,但我希望它在不久的将来对像我这样的人会有所帮助.

Not sure if this is old but i hope it may be helpful for someone like me in near future.

  1. 在Windows身份验证功能中,转到提供程序.只需确保NTLM是唯一选择的提供者,然后删​​除协商"即可.它将停止显示登录提示.

  1. In Windows Authentication feature, goto providers. Just ensure that the NTLM is the only provider selected and remove the Negotiate. It would stop the logon prompt to show up.

不确定是否还需要这样做,但是在高级设置"中,将该值更改为关".

Not sure if this may also be needed but, In advanced Settings, change the value to Off.

对于在Web api中使用此名称并尝试从另一个应用程序(例如angular或其他应用程序)调用该名称的任何人,则IIS中的webapi还需要同时启用匿名身份验证和Windows身份验证.

For anyone who uses this in a web api and trying to call that from another app, say, angular or anything, then the webapi in IIS also needs to have the Anonymous authentication enabled along with the Windows authentication.

早些时候,我把NTLM和Negotiate当作两个提供程序,即使NTLM移到顶部/保留在顶部,它仍然提示在所有浏览器中登录.删除谈判提供者后,它逐渐冷却,不再提示:)

Earlier, i had the NTLM and Negotiate as two providers, even though the NTLM was moved/kept at the top, it kept prompting for logon in all the browsers. After removing the Negotiate provider, it cooled off not to prompt anymore :)

这篇关于尽管启用了Windows身份验证,但仍有登录提示的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆