Replies: 1 comment
-
Hi yixin. Can you give us more details about the FastAPI integration issue you were facing? What specific compatibility issue have you met? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm trying to use logto in my FastAPI app.
FastAPI has a feature called "Automatic docs", which is based on OpenAPI
When I followed logto's Python SDK guide,I found the SDK will create a client for authentication.I found it's incompatible with FastAPI's OpenAPI OAuth2 flow,which is documented in https://fastapi.tiangolo.com/tutorial/security/.
I tried to integrate logto into a standard OAuth2 flow that can be used for OpenAPI's authentication.I've read the source code of both logto Python SDK and FastAPI's implemetion of OAuth2 in fastapi.security,but just have no idea.
I am far from an Oauth2 or backend-development expert, so if I've made any mistakes,plz just point then out directly.Or is it just impossible to include logto into OpenAPI's OAuth2 flow?
Beta Was this translation helpful? Give feedback.
All reactions