Replies: 1 comment 7 replies
-
Hello @zam6ak, that question is better directed at passport. |
Beta Was this translation helpful? Give feedback.
7 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi
I am using openid-client v6 with Express.js v4 and Passport.js.
I would like to redirect the user to original URL user tried to navigate to after they log in (after callback is done).
sample code
Since the callback only gets the
state
this seems to be one way to achieve this.During
/login
add original referer to state and procced with IdP call, then when IdP initiates callback retrieve it and redirectopenid-client
?Thanks
Z
Beta Was this translation helpful? Give feedback.
All reactions