Leon Zero
0
Q:

hwo to send token on redirection in passport

res.set('x-token', token);
res.redirect(...);
0
res.redirect(`/some/url?token=${token}`);
0
res.cookie('token', token, ...);
res.redirect(...);
0

Tags

New to Communities?

Join the community