Chrome中的Azure无限重定向循环 [英] Azure infinite redirect loop in Chrome

查看:277
本文介绍了Chrome中的Azure无限重定向循环的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个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屋!

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