oidc: Inject currently hardcoded CLOUDRON_OIDC_PROVIDER_NAME env var

This is designed to be used in the packages for the login button:
"Login with ${CLOUDRON_OIDC_PROVIDER_NAME}"
This commit is contained in:
Johannes Zellner
2024-04-17 15:06:17 +02:00
parent f231d51d0b
commit daa8a60da2

View File

@@ -2111,6 +2111,8 @@ async function getDynamicEnvironmentOidc(app, options) {
tmp['CLOUDRON_OIDC_CLIENT_ID'] = client.id;
tmp['CLOUDRON_OIDC_CLIENT_SECRET'] = client.secret;
tmp['CLOUDRON_OIDC_PROVIDER_NAME'] = 'Cloudron';
return tmp;
}