2
0

🐛 (auth) Add custom oauth client id and secret params

Closes #216
This commit is contained in:
Baptiste Arnaud
2023-01-06 14:17:29 +01:00
parent 119f6dc348
commit 6cc3cbf182
2 changed files with 4 additions and 0 deletions

View File

@ -102,6 +102,8 @@ if (isNotEmpty(process.env.CUSTOM_OAUTH_AUTHORIZATION_URL)) {
id: 'custom-oauth',
name: process.env.CUSTOM_OAUTH_NAME ?? 'Custom OAuth',
type: 'oauth',
clientId: process.env.CUSTOM_OAUTH_CLIENT_ID,
clientSecret: process.env.CUSTOM_OAUTH_CLIENT_SECRET,
authorization: process.env.CUSTOM_OAUTH_AUTHORIZATION_URL,
token: process.env.CUSTOM_OAUTH_TOKEN_URL,
userinfo: process.env.CUSTOM_OAUTH_USERINFO_URL,