Hi guys, I currently have an authentication system running on back-end with passportjs and express-session. When a user is successfully logged in, in the browser there is a session cookie created. Here is my question, how can the front-end access this cookie? If the websites are on different domain, how can we make it so that session cookie appears on the front-end as well? Does the front-end have to query to the back-end server about the session state for every auth needing action?Much appreciated.
Submitted September 20, 2020 at 01:28AM by kreuzkamm
No comments:
Post a Comment