question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Make User and AuthToken model pluggable

See original GitHub issue

User 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:open
  • Created 5 years ago
  • Reactions:2
  • Comments:18

github_iconTop GitHub Comments

2reactions
johnrazcommented, Jun 11, 2019

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 😄

1reaction
luisroel91commented, Jun 11, 2019

Ahhh, understood. I have never had a need for multiple user models…agree with the above.

Seems like a niche case.

Thank you!

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found