hatchways / team-vampire

1 stars 0 forks source link

React Front-End Not Fetching Data from Back-End #48

Closed singhmi4 closed 3 years ago

singhmi4 commented 3 years ago

https://github.com/hatchways/team-vampire/tree/feature-IN-full-stack-oauth2-flow Expected Behavior

  1. go to http://localhost:3001/api/auth/google
  2. Confirm Google OAuth2 prompt
  3. Redirects to http://localhost:3000/profile
  4. Front-End fetches req.user data from http://localhost:3001/api/auth/users/me and stores in UserProvider context

Actual Behavior

Additional Info