-
Notifications
You must be signed in to change notification settings - Fork 461
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"User Delete" endpoint expects DRF token despite rest_framework_simplejwt
auth backend being set
#833
Comments
Please show |
Sure, here are all settings related to settings.py
urls.py
|
Experiencing the same issue here :( |
Thanks for the opening the ticket. Contributions welcome. |
This should be fixed by setting TOKEN_MODEL to None in settings.py like this:
or alternatively you can add @tomwojcik Probably needs better documentation, but i'm not sure this is actually a bug. |
As in the title, I've got simple Django app where I use
rest_framework_simplejwt
. Other flows like i.e. user's creation work flawlessly, although I've encountered an issue withDELETE
/users/me/
one, which responds with:Which seems to be a token from DRF Token Based Authentication I think?
The text was updated successfully, but these errors were encountered: