Skip to content

Conversation

@puneeth-webdev218
Copy link

@puneeth-webdev218 puneeth-webdev218 commented Nov 14, 2025

Added Google Identity Services (GSI) login button to the frontend login page

Implemented Google token verification using Google Auth Library on backend

Added /auth/google API route for Google login

If a Google user exists → return JWT + user object

If not → automatically create a new user record (no password required)

Added isGoogleUser and profilePicture fields to User model

Ensured Google-authenticated users can access all existing protected routes

  • I have tested these changes
  • I have updated the relevant documentation
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the codebase
  • My changes generate no new warnings or errors
  • The title of my pull request is clear and descriptive

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