-
-
Notifications
You must be signed in to change notification settings - Fork 239
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
Question: Combining OIDC provider with REST Framework #242
Comments
DUPLICATE. SEE #78 Hi @ggjersund. This is a feature we want to add. Here it's some code created by @koriaf about an integration with DRF. https://gist.github.com/koriaf/907d1e16068d1a04056eedf736a203f5 |
@juanifioren Does this work for all the token types? or just bearer? |
It also supports URI Query Parameter |
I'm using own Auth class to validate OpenID Connect JWT tokens in DRF. I will try to PR with authentication DRF class. One question to @juanifioren does scopes are included inside token in the latest version of this lib? |
@wojtek-fliposports Do you mean like in PR #194? |
@wojtek-fliposports Now is on |
@ggjersund - Does #342 help? |
Is there a way to combine this provider with Django REST framework? Or does OIDC Provider come with an authentication backend middleware?
I want to be able to simply accept the access token on my API and extract the user information (same database) from it. I've tried reading through the code, and the docs, however, I couldn't seem to find any information about this.
TLDR; I have a resource server and this provider running in the same Django Project. Can I check the access tokens sent to the API as a middleware?
The text was updated successfully, but these errors were encountered: