Stateless and Statefull token verification?? #669
Unanswered
tamis-laan
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I used authlib to create
/login
and/callback
route together with Keycloak. Now I would like to protect my routes. I'm using FastAPI and there is an example in the docs:https://github.com/authlib/demo-oauth-client/blob/master/fastapi-google-login/app.py
However I don't want to use a session. I want to verify the
access_token
and theid_token
for stateless authentication.For some more important routes I would like to use statefull verification with keykloak and use the
refresh_token
to issue a newid_token
andaccess_token
.But I can't find any documentation how to do this properly with Authlib. Any pointers????
Beta Was this translation helpful? Give feedback.
All reactions