Skip to content
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

Howto - simple example of this library #93

Open
cyril36 opened this issue Sep 27, 2021 · 2 comments
Open

Howto - simple example of this library #93

cyril36 opened this issue Sep 27, 2021 · 2 comments

Comments

@cyril36
Copy link

cyril36 commented Sep 27, 2021

Hello,

Description :

I have integrated Strawberry with django.
I would like to integrate a third party identity server such as keycloak to authenticate my user :

  • user send a query with bearer token in the header
  • Django auth backend send a request to keycloak to identify the user
  • if user is valid info.context.request user get a user object
  • user retrieves the data he expected from the query

Your library might be what i need
Do you have an example of how to use it? Which settings should I setup ?

Thank you for your help

@KundaPanda
Copy link
Owner

Hi, I am afraid that using a third-party identity server, such as Keycloak, and utilizing its' OIDC or other tokens is not currently possible. This library manages all the access and refresh tokens on its own and therefore is incompatible with third party token providers.

However, it sounds like a good idea to create such a project.

@nrbnlulu
Copy link

nrbnlulu commented Jun 29, 2022

Do you have an example of how to use it? Which settings should I setup ?

You can head to my project that is wrapping this library and has some great docs 🙃

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants