Skip to content

Commit

Permalink
Fix OIDC under base path
Browse files Browse the repository at this point in the history
  • Loading branch information
jordan-dalby committed Dec 10, 2024
1 parent be3fda5 commit 3c3c6b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/src/routes/oidcRoutes.js
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ router.get('/callback', async (req, res) => {
expiresIn: TOKEN_EXPIRY
});

res.redirect(`/auth/callback?token=${token}`);
res.redirect(`${process.env.BASE_PATH}/auth/callback?token=${token}`);
} catch (error) {
Logger.error('OIDC callback error:', error);
let errorType = 'auth_failed';
Expand Down

0 comments on commit 3c3c6b2

Please sign in to comment.