#33123: Django admin urls (such as /Users) are not working, they just redirect
to
back to the admin root
-------------------------------------------+------------------------
Reporter: hselfe | Owner: nobody
Type: Bug | Status: new
Component: contrib.admin | Version: 3.2
Severity: Release blocker | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
-------------------------------------------+------------------------
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?
--
Ticket URL: <https://code.djangoproject.com/ticket/33123>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/049.abf4491cc05ec9458eb524208dbe5215%40djangoproject.com.