support GitHub OAuth 2.0 authentication

This commit is contained in:
MaysWind
2025-10-22 22:18:04 +08:00
parent 81a5585029
commit 4b35103e34
7 changed files with 184 additions and 4 deletions
+1 -1
View File
@@ -297,7 +297,7 @@ oauth2_user_identifier = email
# For "oauth2" authentication only, if the user returned by OAuth 2.0 is not registered, automatically create a new user (requires "enable_register" to be set to true)
oauth2_auto_register = true
# For "oauth2" authentication only, OAuth 2.0 provider, supports "nextcloud" currently
# For "oauth2" authentication only, OAuth 2.0 provider, supports "nextcloud" and "github" currently
oauth2_provider =
# For "oauth2" authentication only, OAuth 2.0 state expired seconds (60 - 4294967295), default is 300 (5 minutes)