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.

Add support for Django Rest Framework

See original GitHub issue

The 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:open
  • Created 8 years ago
  • Reactions:2
  • Comments:15 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
latusakicommented, Sep 19, 2018

Have made some minor corrections since… do you want me to make a PR with the above Auth class? Any comments ?

1reaction
latusakicommented, Aug 3, 2018

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

Read more comments on GitHub >

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

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