jaredhanson / passport-openid

OpenID authentication strategy for Passport and Node.js.
https://www.passportjs.org/packages/passport-openid/?utm_source=github&utm_medium=referral&utm_campaign=passport-openid&utm_content=about
MIT License
98 stars 90 forks source link

Can change returnURL when authenticate #38

Open ScreamZ opened 7 years ago

ScreamZ commented 7 years ago

Hey, seems like i can't implement an override of the given return URL... but need it

I know we can override callbackURL in OAuth, can we do something similar here ?

router.get("/auth/steam", passport.authenticate("steam", { returnURL: returnURL}));

martinsik commented 6 years ago

Probably the same issue as here https://github.com/jaredhanson/passport-openid/issues/21