Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Azure infinite redirect loop in Chrome

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.

like image 723
Steven T. Cramer Avatar asked Dec 09 '15 02:12

Steven T. Cramer


People also ask

What is endless redirection?

A redirect loop occurs when a URL is redirected to another URL, which in turn redirects back to the URL that was originally requested, leading to an infinite cycle of redirects.


1 Answers

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.

like image 151
theadriangreen Avatar answered Sep 28 '22 20:09

theadriangreen