Closed singhmi4 closed 3 years ago
https://github.com/hatchways/team-vampire/tree/feature-IN-full-stack-oauth2-flow Expected Behavior
http://localhost:3001/api/auth/google
http://localhost:3000/profile
req.user
http://localhost:3001/api/auth/users/me
Actual Behavior
null
Additional Info
https://github.com/hatchways/team-vampire/tree/feature-IN-full-stack-oauth2-flow Expected Behavior
http://localhost:3001/api/auth/google
http://localhost:3000/profile
req.user
data fromhttp://localhost:3001/api/auth/users/me
and stores in UserProvider contextActual Behavior
null
is getting returned from fetch request in UserProvider.js context functionAdditional Info