support GitHub OAuth 2.0 authentication
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user