[Django] #34872: DRF Auth Issue

3 views
Skip to first unread message

Django

unread,
Sep 25, 2023, 5:41:59 PM9/25/23
to django-...@googlegroups.com
#34872: DRF Auth Issue
--------------------------------------+------------------------
Reporter: msillz | Owner: nobody
Type: Bug | Status: new
Component: CSRF | Version: 4.2
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
--------------------------------------+------------------------
Basic HTTP Authentication being listen above Session / Token
authentication was causing some users to get "stuck". The template views
were returning the current user's data however, the tokens from the DRF
were still linked to a previous login.

I don't know if this is my fault or not. That said, moving
rest_framework.authentication.BasicAuthentication to the bottom fixed the
issue. This seems like a design problem to me.

--
Ticket URL: <https://code.djangoproject.com/ticket/34872>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

Django

unread,
Sep 25, 2023, 9:24:23 PM9/25/23
to django-...@googlegroups.com
#34872: DRF Auth Issue
-------------------------------+--------------------------------------
Reporter: msillz | Owner: nobody
Type: Bug | Status: closed
Component: Uncategorized | Version: 4.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 Tim Graham):

* status: new => closed
* resolution: => invalid
* component: CSRF => Uncategorized


Comment:

This isn't the bug tracker for DRF, and you've make a support request
rather than reported a bug. See TicketClosingReasons/UseSupportChannels
for ways to get help.

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

Reply all
Reply to author
Forward
0 new messages