Update src/mod/auth/sso/oauth2/oauth2.go

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
Toby Chui
2025-10-20 21:50:39 +08:00
committed by GitHub
parent 322e5239a8
commit 0f295185f1

View File

@@ -24,7 +24,7 @@ type OAuth2RouterOptions struct {
OAuth2WellKnownUrl string //The well-known url for OAuth 2.0 server
OAuth2UserInfoUrl string //The URL of the OAuth 2.0 user info endpoint
OAuth2Scopes string //The scopes for OAuth 2.0 Application
OAuth2CodeChallengeMethod string //The authorization code challange method
OAuth2CodeChallengeMethod string //The authorization code challenge method
Logger *logger.Logger
Database *database.Database
OAuth2ConfigCacheTTL *time.Duration