Add support for Django Rest Framework
See original GitHub issueThe idea is to have both django-oidc-provider
and djangorestframework
working on a same project providing Authentication with OpenID Connect and Authorization with OAuth2.
Any help is welcomed.
Issue Analytics
- State:
- Created 8 years ago
- Reactions:2
- Comments:15 (7 by maintainers)
Top Results From Across the Web
Django REST framework: Home
Django REST Framework. Django REST framework is a powerful and flexible toolkit for building Web APIs. Some reasons you might want to use...
Read more >Quickstart - Django REST framework
Quickstart. We're going to create a simple API to allow admin users to view and edit the users and groups in the system....
Read more >HTML & Forms - Django REST framework
HTML & Forms ... REST framework is suitable for returning both API style responses, and regular HTML pages. Additionally, serializers can be used...
Read more >Renderers - Django REST framework
REST framework includes a number of built in Renderer classes, that allow you to return responses with various media types. There is also...
Read more >Settings - Django REST framework
If you need to access the values of REST framework's API settings in your project, you should use the api_settings object. For example....
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 FreeTop 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
Top GitHub Comments
Have made some minor corrections since… do you want me to make a PR with the above Auth class? Any comments ?
This is what I am using on a backend service, to verify Auth tokens received are valid. Tokens can be reference or JWT. They are generated by an external service.
Code based off https://github.com/ByteInternet/drf-oidc-auth, but is adapted to work without users.
https://gist.github.com/latusaki/0f015643d55c2481bb7acd023c4203e3