feat: update auth
This commit is contained in:
@@ -26,6 +26,9 @@ const oidcConfig = {
|
||||
response_type: 'code',
|
||||
scope: process.env.OIDC_SCOPE ?? 'openid profile email offline_access',
|
||||
},
|
||||
routes: {
|
||||
callback: process.env.OIDC_REDIRECT_URL
|
||||
}
|
||||
};
|
||||
|
||||
if (!disableAuth && (!oidcConfig.clientID || !oidcConfig.issuerBaseURL || !oidcConfig.clientSecret)) {
|
||||
|
||||
Reference in New Issue
Block a user