feat: add OIDC_CLIENT_SECRET configuration to frontend environment and OIDC provider settings

This commit is contained in:
nessar committed 2026-08-17 14:18:14 +02:00
1 parent 53d0c886a6
commit fce17a1c31
4 files changed
+8

No files matched your search

+1
View File
@@ -20,6 +20,7 @@ export const appConfig: ApplicationConfig = {
issuer: configService.oidcIssuer,
redirectUri: window.location.origin + '/',
clientId: configService.clientId,
dummyClientSecret: configService.clientSecret,
responseType: 'code',
scope: 'openid profile email',
showDebugInformation: true,
+4
View File
@@ -15,4 +15,8 @@ export class ConfigService {
get clientId(): string {
return import.meta.env['OIDC_CLIENT_ID'] || 'lmnp-client';
}
get clientSecret(): string {
return import.meta.env['OIDC_CLIENT_SECRET'] || 'lmnp-secret';
}
}