Make OAuth2 issuer configurable (#35915) (#35916)

Backport #35915 by wxiaoguang
This commit is contained in:
Giteabot
2025-11-11 00:12:25 +08:00
committed by GitHub
parent db876d8f17
commit 327f2207dc
4 changed files with 35 additions and 13 deletions

View File

@@ -96,6 +96,7 @@ var OAuth2 = struct {
InvalidateRefreshTokens bool
JWTSigningAlgorithm string `ini:"JWT_SIGNING_ALGORITHM"`
JWTSigningPrivateKeyFile string `ini:"JWT_SIGNING_PRIVATE_KEY_FILE"`
JWTClaimIssuer string `ini:"JWT_CLAIM_ISSUER"`
MaxTokenLength int
DefaultApplications []string
}{