-
Notifications
You must be signed in to change notification settings - Fork 62
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
Django REST token authentication #31
Comments
Hi There @rbuzu @linuxlewis I was wondering if you had this figured out. Stuck with the same issue |
Hi @rbuzu Problem with When |
Hey @gromsterus I'm struggling with the same problem. |
Would be adorable of you indeed @gromsterus |
Hi,
I'm trying to implement authentication using tokens generated by django-rest-framework.
Using this gist: https://gist.github.com/leonardoo/9574251b3c7eefccd84fc38905110ce4
I've managed to do this:
Consumer
Resource binding
My request
ws://localhost:8000/?token=ef0ef25fcfc75c0db91bbbccc062f0ab5786dc34
The thing is that I can access User instance only inside Consumer and User instance is not propagated to ResourceBinding. Is there some obvious way to access ser from token inside ResourceBinding?
Any help would be appreciated.
The text was updated successfully, but these errors were encountered: