Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add CustomOauth2LoginHandler for custom auth2 url or scope #1429

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

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