mirror of
https://github.com/glenndehaan/unifi-voucher-site.git
synced 2026-03-31 06:24:00 -04:00
Moved OIDC routes to /oidc/* paths
This commit is contained in:
@@ -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'
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user