rio icon indicating copy to clipboard operation
rio copied to clipboard

[Feature Request] support external Oauth2 and OpenID connect server

Open YoranSys opened this issue 5 months ago • 3 comments

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

YoranSys avatar Sep 19 '24 15:09 YoranSys