Skip to content

Conversation

@chenlb
Copy link

@chenlb chenlb commented Mar 23, 2025

CustomOauth2LoginHandler for use custom oauth2 url or scope

env config:

# custom oauth2
FLOWER_CUSTOM_OAUTH_BASE_URL=http://oauth-server.xxx.com:8000/oauth2
FLOWER_CUSTOM_OAUTH_AUTHORIZE_URL=http://oauth-server.xxx.com:9080/h5/oauth2-authorize.html
# custom oauth2 other default config
#FLOWER_CUSTOM_OAUTH_ACCESS_TOKEN_URL=http://oauth-server.xxx.com:8000/oauth2/token
#FLOWER_CUSTOM_OAUTH_USER_INFO_URL=http://oauth-server.xxx.com:8000/oauth2/userinfo
#FLOWER_CUSTOM_OAUTH_SCOPE="profile email"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant