Skip to content

Commit

Permalink
N21-1273 fix migration page
Browse files Browse the repository at this point in the history
  • Loading branch information
arnegns committed Oct 12, 2023
1 parent 6feb5c9 commit 350698b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion controllers/login.js
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ router.get('/login/oauth2-callback', async (req, res) => {
return authHelper.handleLoginError(req, res, loginResponse.error, redirect);
}

let postLoginRedirect = redirect;
let postLoginRedirect = loginResponse.redirect;
if (oauth2State.logoutEndpoint && loginResponse.login?.externalIdToken) {
postLoginRedirect = authHelper.getLogoutUrl(
req,
Expand Down

0 comments on commit 350698b

Please sign in to comment.