From 0f295185f121fac2ac858cb3a6574ef2082a67d7 Mon Sep 17 00:00:00 2001 From: Toby Chui Date: Mon, 20 Oct 2025 21:50:39 +0800 Subject: [PATCH] Update src/mod/auth/sso/oauth2/oauth2.go Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- src/mod/auth/sso/oauth2/oauth2.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mod/auth/sso/oauth2/oauth2.go b/src/mod/auth/sso/oauth2/oauth2.go index f48f28e..c267714 100644 --- a/src/mod/auth/sso/oauth2/oauth2.go +++ b/src/mod/auth/sso/oauth2/oauth2.go @@ -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