Chrome中的Azure无限重定向循环 [英] Azure infinite redirect loop in Chrome
问题描述
我有一个MVC5 Azure网站,昨晚工作正常。现在它似乎在尝试通过chrome登录时陷入了无限重定向循环。它在Edge和FireFox中工作正常。它使用Azure AD进行身份验证。重定向是从主站点来回login.microsoftonline.com。
有时,AAD使用一些不好的令牌可以通过浏览器缓存。它们被用来代替有效的令牌,而不是刷新。清除浏览器缓存(Chrome上的Ctrl-Shift-Delete)通常可以解决此问题。
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.
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屋!