KundaPanda / strawberry-django-jwt

[UNMAINTAINED] JSON Web Token (JWT) authentication for Django with Strawberry GraphQL
MIT License
37 stars 14 forks source link

Howto - simple example of this library #93

Open cyril36 opened 2 years ago

cyril36 commented 2 years ago

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 :

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 commented 2 years ago

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 commented 2 years ago

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 :upside_down_face: