Make User and AuthToken model pluggable
See original GitHub issueUser
on line 24 is never used and model
on line 39 is never used.
If they were used the way the seem to be intended and user was inside the class, this library would be much more flexible and usable in multi-user-model situations.
If this is something you are happy to accept, I can create the PR.
Issue Analytics
- State:
- Created 5 years ago
- Reactions:2
- Comments:18
Top Results From Across the Web
Authentication - Django REST framework
Auth needs to be pluggable. ... Authentication is the mechanism of associating an incoming request with a set of identifying credentials, such as...
Read more >PAM – Pluggable Authentication Modules for Linux and how ...
auth is used for providing some kind of challenge/response (depending on the module) – usually username/password. account is used to time or ...
Read more >Token Authentication in Django Rest Framework - Melvin K.
To use your token, simple add the key Authorization with value Token <your_token_here> in your HTTP header. You can test your token with...
Read more >User access tokens - Hugging Face
To create an access token, go to your settings, then click on the Access Tokens tab. Click on the New token button to...
Read more >Pluggable Authentication Modules - XSSO Sign-on Services
This makes PAM independent of the user interface. The address of these callback communication functions, together with the servicename and the username are ......
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Hi there, This package works with custom user models but does not work with multiple user models.
I’m still unsure as to how we could make it work with multiple user model to be honest and I’m curious to see a proposal solution to that 😄
Ahhh, understood. I have never had a need for multiple user models…agree with the above.
Seems like a niche case.
Thank you!