after login with jwt passport redirect code example
Example 1: hwo to send token on redirection in passport
res.set('x-token', token);
res.redirect(...);
Example 2: hwo to send token on redirection in passport
res.redirect(`/some/url?token=${token}`);