[Django] #33123: Django admin urls (such as /Users) are not working, they just redirect to back to the admin root

30 views
Skip to first unread message

Django

unread,
Sep 21, 2021, 5:26:54 AM9/21/21
to django-...@googlegroups.com
#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.

Django

unread,
Sep 21, 2021, 5:30:28 AM9/21/21
to django-...@googlegroups.com
#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: closed
Component: contrib.admin | Version: 3.2
Severity: Release blocker | Resolution: invalid

Keywords: | Triage Stage: Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
---------------------------------+--------------------------------------
Changes (by Mariusz Felisiak):

* status: new => closed
* resolution: => invalid


Comment:

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

--
Ticket URL: <https://code.djangoproject.com/ticket/33123#comment:1>

Django

unread,
Sep 21, 2021, 5:30:56 AM9/21/21
to django-...@googlegroups.com
#33123: Django admin urls are not working, they just redirect to back to the admin
root.
-------------------------------+--------------------------------------
Reporter: hselfe | Owner: nobody
Type: Bug | Status: closed
Component: contrib.admin | Version: 3.2
Severity: Normal | Resolution: invalid

Keywords: | Triage Stage: Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------+--------------------------------------
Changes (by Mariusz Felisiak):

* severity: Release blocker => Normal


--
Ticket URL: <https://code.djangoproject.com/ticket/33123#comment:2>

Reply all
Reply to author
Forward
0 new messages