Chrome 中的 Azure 无限重定向循环 [英] Azure infinite redirect loop in Chrome
问题描述
我有一个 MVC5 Azure 网站,昨晚运行良好.现在,当尝试通过 chrome 登录时,它似乎陷入了无限重定向循环.它在 Edge 和 FireFox 上运行良好.它使用 Azure AD 进行身份验证.重定向从主站点来回到 login.microsoftonline.com.
I have an MVC5 Azure web site which was working fine last night. Now it seems to be stuck in an infinite redirect loop when trying to login via chrome. It works fine from Edge and FireFox. It uses Azure AD for authentication. The redirects are back and forth from the main site to login.microsoftonline.com.
推荐答案
有时,AAD 使用的一些错误令牌可能会被浏览器缓存.它们用于代替有效令牌,而不是刷新.清除浏览器缓存(Chrome 上的 Ctrl-Shift-Delete)通常可以解决此问题.
Sometimes, some bad tokens that AAD uses can get cached by the browser. They're used in place of the valid tokens, and not refreshed. Clearing the browser cache (Ctrl-Shift-Delete on Chrome) usually resolves this.
这篇关于Chrome 中的 Azure 无限重定向循环的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!