Moved OIDC routes to /oidc/* paths

This commit is contained in:
Glenn de Haan
2024-10-01 12:48:28 +02:00
parent 4ad1b68161
commit 43aec4d02c

View File

@@ -12,8 +12,6 @@ const log = require('./log');
/**
* OIDC Settings
*
* @type {{baseURL: string, idpLogout: boolean, authRequired: boolean, clientID: string, issuerBaseURL: string, clientSecret: string, secret: string, authorizationParams: {scope: string, response_type: (string), response_mode: (string)}}}
*/
const settings = {
issuerBaseURL: variables.authOidcIssuerBaseUrl,
@@ -27,6 +25,11 @@ const settings = {
response_type: 'code',
response_mode: 'query',
scope: 'openid profile email'
},
routes: {
callback: '/oidc/callback',
login: '/oidc/login',
logout: '/oidc/logout'
}
};