rio
rio copied to clipboard
[Feature Request] support external Oauth2 and OpenID connect server
Description
Modern sites or apps need to provide social login based on OAuth 2.0 code flow. In the context of rio and OAuth 2.0, the PKCE code flow can be used at the frontend and token validation on the backend side.
Good starting point for OAuth2.0: https://dev.to/hem/oauth-2-0-flows-explained-in-gifs-2o7a
Suggested Solution
Maybe based on :
- https://docs.pysnippet.org/fastapi-oauth2/integration/integration
- Need some js file for automatic token refresh
Alternatives
No response
Additional Context
No response
Related Issues/Pull Requests
No response