2021-09-03 16:47:37 +08:00
|
|
|
[runtime]
|
|
|
|
environment="development"
|
|
|
|
|
|
|
|
[server]
|
|
|
|
host="localhost"
|
|
|
|
port="3000"
|
|
|
|
sessionSecret="super-secret"
|
2023-01-15 22:29:56 +01:00
|
|
|
publicProto="https"
|
|
|
|
public="oauth.example.com"
|
|
|
|
publicPort="443"
|
2021-09-03 16:47:37 +08:00
|
|
|
|
|
|
|
# Delete if not in use
|
|
|
|
[gitea]
|
|
|
|
key=
|
|
|
|
secret=
|
|
|
|
baseURL="https://gitea.yourcompany.com"
|
|
|
|
authURI=
|
|
|
|
accessTokenURI=
|
|
|
|
userURI=
|
2023-01-15 22:29:56 +01:00
|
|
|
callbackURI="https://oauth.example.com/callback/gitea"
|
2021-09-03 16:47:37 +08:00
|
|
|
|
|
|
|
# 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"
|