Skip to content

Commit

Permalink
Push state to post redirect URL.
Browse files Browse the repository at this point in the history
  • Loading branch information
jaredhanson committed Nov 17, 2023
1 parent 7f049f9 commit 8adb5ca
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion lib/openidconnect/logout/rpinitiated.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,11 @@ RPInitiatedService.prototype.logout = function(ctx, res, next) {
var location = url.format(parsed);

console.log('REDIRECT TO: ' + location);
res.redirect(location);
// FIXME: this is adding a return_to parameter, which it should not
//res.redirect(location);

res.req.pushState({ foox: 'barx' }, this._callbackURL);
res.redirect(location);
}


Expand Down

0 comments on commit 8adb5ca

Please sign in to comment.