Opened 3 years ago

Closed 3 years ago

Last modified 3 years ago

#33123 closed Bug (invalid)

Django admin urls are not working, they just redirect to back to the admin root.

Reported by: Howard Selfe Owned by: nobody
Component: contrib.admin Version: 3.2
Severity: Normal Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

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)

comment:1 by Mariusz Felisiak, 3 years ago

Resolution: invalid
Status: newclosed

Django Admin works properly. If you're having trouble understanding how Django works, see TicketClosingReasons/UseSupportChannels for ways to get help.

comment:2 by Mariusz Felisiak, 3 years ago

Severity: Release blockerNormal
Summary: Django admin urls (such as /Users) are not working, they just redirect to back to the admin rootDjango admin urls are not working, they just redirect to back to the admin root.
Note: See TracTickets for help on using tickets.
Back to Top