scm-oauth-provider/env/sample.config
2023-01-15 22:29:56 +01:00

45 lines
746 B
Plaintext

[runtime]
environment="development"
[server]
host="localhost"
port="3000"
sessionSecret="super-secret"
publicProto="https"
public="oauth.example.com"
publicPort="443"
# Delete if not in use
[gitea]
key=
secret=
baseURL="https://gitea.yourcompany.com"
authURI=
accessTokenURI=
userURI=
callbackURI="https://oauth.example.com/callback/gitea"
# Delete if not in use
[gitlab]
key=
secret=
baseURL=
authURI="oauth/authorize"
accessTokenURI="oauth/token"
userURI="api/v3/user"
callbackURI="http://localhost:3000/callback/gitlab"
# Delete if not in use
[github]
key=
secret=
baseURL=
callbackURI="http://localhost:3000/callback/github"
# Delete if not in use
[bitbucket]
key=
secret=
baseURL=
callbackURI="http://localhost:3000/callback/bitbucket"