Skip to content

Conversation

@BoomikaSN
Copy link

@BoomikaSN BoomikaSN commented Oct 11, 2025

  • Fixed the Google authentication flow in both client and server
Screenshot 2025-10-14 082738 - Verified Google ID token using `google-auth-library` in backend Screenshot 2025-10-10 101203 - Connected MongoDB and ensured user creation/login works as expected - Cleaned up `.env` configs for SMTP and JWT

Users were unable to log in via Google due to token verification failure. This fix ensures proper OAuth flow, secure backend validation, and smooth login experience.

This PR fixes the Google authentication flow and improves backend integration:

  1. Google OAuth Fix

    • Registered localhost as authorized origin
    • Verified Google ID token using google-auth-library
    • Ensured Client ID matches across frontend and backend
  2. MongoDB Integration

    • Connected MongoDB and ensured user creation/login works
  3. Environment Configuration

    • Cleaned up .env files for SMTP and JWT secrets
  4. Frontend Scripts

    • Added React start/build/test scripts to client/package.json

@netlify
Copy link

netlify bot commented Oct 11, 2025

👷 Deploy request for accountill pending review.

Visit the deploys page to approve it

Name Link
🔨 Latest commit 15683e3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant