-
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 2 replies
-
|
Hi, this doesn't help much, can you do a |
Beta Was this translation helpful? Give feedback.
-
|
Hi, there is nothing printed out in the log. It shows only the access log.
|
Beta Was this translation helpful? Give feedback.
-
|
I ran into this exact issue yesterday and was able to resolve it. I had set up my server with Azure Entra ID SAML authentication. When I enforced global login and disabled local user login, I encountered a redirect loop — the system kept redirecting between the homepage and the login URL. The root cause appears to be that, with global login required and local login disabled, Django attempts to redirect users to the default local login page. Since that login method is unavailable, users are bounced back to the homepage, triggering the same redirect logic again — resulting in a loop. To fix this, I specified the correct SAML authentication URL in my local settings. Here's what I did:
This change ensures Django uses the proper SAML login route, effectively breaking the redirect loop and allowing authentication via EntraID as intended. |
Beta Was this translation helpful? Give feedback.
-
|
thanks for the insights @Brets0150 ! It would be great if you can open a PR with changes in the /docs suggested how you have setup this in details! |
Beta Was this translation helpful? Give feedback.


I ran into this exact issue yesterday and was able to resolve it. I had set up my server with Azure Entra ID SAML authentication. When I enforced global login and disabled local user login, I encountered a redirect loop — the system kept redirecting between the homepage and the login URL.
The root cause appears to be that, with global login required and local login disabled, Django attempts to redirect users to the default local login page. Since that login method is unavailable, users are bounced back to the homepage, triggering the same redirect logic again — resulting in a loop.
To fix this, I specified the correct SAML authentication URL in my local settings. Here's what I did:
My "…