There was an error while loading. Please reload this page.
1 parent 1a54fcd commit 9c8e710Copy full SHA for 9c8e710
src/server/middlewares/auth.ts
@@ -130,7 +130,7 @@ if (config.get('auth.provider') === AuthenticationType.keycloak) {
130
clientID: `${config.get('auth.clientId')}`,
131
passReqToCallback: true,
132
...(audience.length > 0 && {
133
- audience: audience.concat(...[`${config.get('auth.clientId')}`]),
+ audience,
134
}),
135
}
136
: {
@@ -147,7 +147,6 @@ if (config.get('auth.provider') === AuthenticationType.keycloak) {
147
148
loggingLevel: 'info',
149
};
150
- console.log(credentials.audience);
151
passport.use(
152
new BearerStrategy(credentials, (req, token: ITokenPayload, done) => {
153
// === USER ===
0 commit comments