You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have implemented google Oauth in my express app using express session and pasport.
A cookie is created in memory store, this works great in local host no issues.
But for some reason after deployment to vercel , I am getting 401 unauthorised eventhough the cookie is set up.
I have made samesite as strict and secure as true also, no help.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Summary
I have implemented google Oauth in my express app using express session and pasport.
A cookie is created in memory store, this works great in local host no issues.
But for some reason after deployment to vercel , I am getting 401 unauthorised eventhough the cookie is set up.
I have made samesite as strict and secure as true also, no help.
Please help me resolve this.
Example
No response
Beta Was this translation helpful? Give feedback.
All reactions