-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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 framework oauth2 #44
Comments
There should be a way to change the name of a token. I cannot change it in Satellizer just for Django REST Framework. But more importantly JSON Web Token is not exactly the same thing as |
Thanks. I saw your commits. Is there anyway to customize the Authorization header for an auth service? Can I use something else instead of "Bearer". If you could create an example of a client service for JWT, that would be great. I will be able to contribute an example of a server using django REST framework. Line 612 in 5bb7194
|
@pmcao I am going to close this issue. @jpadilla has opened a new issue in for |
@sahat thanks, I'll update both issues when it gets done, which should be soon this week. |
Hi sahat,
Great work on satellizer so far. Should you consider integrating oauth2 of django REST server?
You will need to modify the parseUser function to extract the returned token.
In django REST server (and other oauth2 providers), the value of the returned token is in 'access_token' key instead of 'token' key as in your server examples.
Example of the django REST framework is available at this page:
http://www.django-rest-framework.org/api-guide/authentication#oauth2authentication
The text was updated successfully, but these errors were encountered: