Answer the question
In order to leave comments, you need to log in
How to pass other user parameters in passportjs?
Nodejs, express, passport backend.
When authenticating, passport saves the user a connect.sid cookie with encrypted user id data secret, sault. I also want to store the user's role, photo link, first name and last name. How can I add additional information about the user to the standard data?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question