-
Notifications
You must be signed in to change notification settings - Fork 45
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ERR_TOO_MANY_REDIRECTS #14
Comments
I am also having this problem, it seemed to crop up out of nowhere... |
@sgrimmettuk I was able to fix it (for me) by clearing the site cache in the browser, then deleting the session entries in the database. |
Hint: the SameSite-element of the sessioncookie is probably set to Strict. When the redirect to Azure AD happens, the PHP-session is automatically destroyed. So, make the sessioncookie SameSite Lax or None (via the .ini, or by adding something like:
just before the redirect to Azure AD happens in modAuth. |
I had the same issue, until I realized that my db user was unable to insert entries into the table. Having granted the user full access to this particular db, I overlooked the fact that it also requires write access to the table itself. Otherwise, no session will be stored and the redirect to Entra AD will happen constantly. |
Hi,
I have added the files in this project to a new webhosting and have modified the config.inc file as per directions but after seeing the 365 sign in message all I get are errors of ERR_TOO_MANY_REDIRECTS
I have tried using both my single tenant ID and the common setting for Azure, I have checked and my user is set against the enterprise application for access.
I have checked all the requirements you listed, I am running PHP 8.0.28 with CURL 7.29.0.
Can you suggest what I should check?
Many thanks! :)
The text was updated successfully, but these errors were encountered: