|
|
@@ -136,26 +136,26 @@
|
|
|
#################################### Github Auth ##########################
|
|
|
[auth.github]
|
|
|
;enabled = false
|
|
|
+;allow_sign_up = false
|
|
|
;client_id = some_id
|
|
|
;client_secret = some_secret
|
|
|
;scopes = user:email
|
|
|
;auth_url = https://github.com/login/oauth/authorize
|
|
|
;token_url = https://github.com/login/oauth/access_token
|
|
|
;api_url = https://api.github.com/user
|
|
|
-# Uncomment bellow to only allow specific email domains
|
|
|
-; allowed_domains = mycompany.com othercompany.com
|
|
|
+;allowed_domains =
|
|
|
|
|
|
#################################### Google Auth ##########################
|
|
|
[auth.google]
|
|
|
;enabled = false
|
|
|
+;allow_sign_up = false
|
|
|
;client_id = some_client_id
|
|
|
;client_secret = some_client_secret
|
|
|
;scopes = https://www.googleapis.com/auth/userinfo.profile https://www.googleapis.com/auth/userinfo.email
|
|
|
;auth_url = https://accounts.google.com/o/oauth2/auth
|
|
|
;token_url = https://accounts.google.com/o/oauth2/token
|
|
|
;api_url = https://www.googleapis.com/oauth2/v1/userinfo
|
|
|
-# Uncomment bellow to only allow specific email domains
|
|
|
-; allowed_domains = mycompany.com othercompany.com
|
|
|
+;allowed_domains =
|
|
|
|
|
|
#################################### Logging ##########################
|
|
|
[log]
|