Skip to content
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

Logout always deletes authtoken, regardless of token settings #652

Open
charles-hussey opened this issue Aug 22, 2024 · 0 comments
Open

Comments

@charles-hussey
Copy link

Even if the TOKEN_MODEL setting is set to None, the user's Auth Token will be deleted whenever they log out.
I had wanted to use this package as an easy way of adding JSON versions of the standard auth endpoints (while maybe adding social auth in the future). However, I currently use auth tokens as a secondary means of authentication so users can script things more easily. It obviously won't work for me if the auth token gets deleted every time, nor can I see the rationale in doing so if the TOKEN_MODEL is set to None.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant