-
Notifications
You must be signed in to change notification settings - Fork 44
Open
Description
Description
Clicking "Login with Google" on the homepage does not log in the user.
The frontend makes a POST request to /login/success and receives 401 Unauthorized.
Steps to Reproduce
- Go to the homepage
- Click "Login with Google"
- Observe 401 Unauthorized in console/network tab
Expected Behavior
- User should be successfully logged in via Google OAuth
Actual Behavior
- Backend rejects the request with 401 Unauthorized
- Console shows:
HomePage.js:18 POST https://allblogwebsite.onrender.com/login/success 401 (Unauthorized)
Additional Context
- Likely causes: OAuth configuration, backend se
session/cookie handling, missing tokens
- I’m happy to help debug/test the frontend integration and suggest fixes.
- Please assign this issue to me if possible so I can work on it.
Metadata
Metadata
Assignees
Labels
No labels