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

Authentication with JWT? #13

Open
chessramone opened this issue Apr 30, 2020 · 4 comments
Open

Authentication with JWT? #13

chessramone opened this issue Apr 30, 2020 · 4 comments
Assignees
Labels
documentation Improvements or additions to documentation good first issue Good for newcomers question Further information is requested

Comments

@chessramone
Copy link

I see you have drfpasswordless in the settings.py
Is JWT something you'd be interested in adding to this project?

@Terkea Terkea added documentation Improvements or additions to documentation good first issue Good for newcomers question Further information is requested labels Apr 30, 2020
@vadimstasiev
Copy link
Collaborator

We have already implemented django rest framework tokens we will have to check how compatible that is with drfpasswordless, tho feel free to add it if you wish like I said, contributions are welcome.

@Terkea
Copy link
Owner

Terkea commented Apr 30, 2020

I've just looked up the drfpasswordless docs and according to them, it supports jwt tokens, which implies that you only have to change in settings.py some lines to get it working other than installing the package itself.

If you want me to be more specific on that let me know.

@io-ma
Copy link

io-ma commented Nov 13, 2020

How about you switch to dj-rest-auth instead of rest-auth which is not maintained anymore?
Jazzband took over rest-auth and he is maintaining it, just changed the name to dj-rest-auth.
They give clear examples of using JWT:
https://dj-rest-auth.readthedocs.io/en/latest/configuration.html
You just do:
#155
I feel like this would be a good move ;-)
P.S. Check: #568

@iNgredie
Copy link

I've just looked up the drfpasswordless docs and according to them, it supports jwt tokens, which implies that you only have to change in settings.py some lines to get it working other than installing the package itself.

If you want me to be more specific on that let me know.

Hello, can you please add an example.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation good first issue Good for newcomers question Further information is requested
Projects
None yet
Development

No branches or pull requests

5 participants