Django admin urls are not working, they just redirect to back to the admin root.
In a standard Django install, the admin links are not working, they simply redirect back to the admin root page.
If I click /Users it just lands back on admin root. We are using auth0 for authentication. In settings.py we have:
# Auth0 Authentication Related Configs Keys
SOCIAL_AUTH_TRAILING_SLASH = False # Remove trailing slash from routes
SOCIAL_AUTH_AUTH0_DOMAIN = config("SOCIAL_AUTH_AUTH0_DOMAIN")
SOCIAL_AUTH_AUTH0_KEY = config("SOCIAL_AUTH_AUTH0_KEY")
SOCIAL_AUTH_AUTH0_SECRET = config("SOCIAL_AUTH_AUTH0_SECRET")
SOCIAL_AUTH_AUTH0_SCOPE = ["openid", "profile", "email"]
LOGIN_URL = "/login/auth0"
LOGIN_REDIRECT_URL = "/"
Could this have caused the problem?
Change History
(2)
Resolution: |
→ invalid
|
Status: |
new → closed
|
Severity: |
Release blocker → Normal
|
Summary: |
Django admin urls (such as /Users) are not working, they just redirect to back to the admin root → Django admin urls are not working, they just redirect to back to the admin root.
|
Django Admin works properly. If you're having trouble understanding how Django works, see TicketClosingReasons/UseSupportChannels for ways to get help.