1
0
mirror of https://git.cloudron.io/cloudron/gitea-app synced 2025-09-01 15:24:59 +00:00

oauth integration

This commit is contained in:
Girish Ramakrishnan
2015-06-23 10:15:46 -07:00
parent 6d9aa99f39
commit 6d41701bab
3 changed files with 19 additions and 1 deletions

View File

@@ -42,3 +42,15 @@ SECRET_KEY = ##SECRET_KEY
DISABLE_REGISTRATION = false
SHOW_REGISTRATION_BUTTON = false
[oauth]
ENABLED = true
[oauth.cloudron]
ENABLED = true
CLIENT_ID = ##OAUTH_CLIENT_ID
CLIENT_SECRET = ##OAUTH_CLIENT_SECRET
SCOPES = root,profile,apps,roleAdmin,user
AUTH_URL = ##OAUTH_AUTH_URL
TOKEN_URL = ##OAUTH_TOKEN_URL
CLOUDRON_ORIGIN = ##OAUTH_CLOUDRON_ORIGIN