Skip to content

implemented the google OAuth authentication #307

Open
saurabh19304 wants to merge 1 commit into
Priyanshu-byte-coder:mainfrom
saurabh19304:feat/add-google-oauth
Open

implemented the google OAuth authentication #307
saurabh19304 wants to merge 1 commit into
Priyanshu-byte-coder:mainfrom
saurabh19304:feat/add-google-oauth

Conversation

@saurabh19304
Copy link
Copy Markdown
Contributor

@saurabh19304 saurabh19304 commented May 17, 2026

Summary

Added Google OAuth sign-in support alongside existing GitHub login with a clean dedicated sign-in page.

Closes #122

Type of Change

  • New feature google authentication with better UI fix

Changes Made

  • Updated src/lib/auth.ts to include Google Provider
  • Updated src/app/page.tsx with a single "Sign In to Continue" button
  • Created new src/app/signin/page.tsx with both GitHub and Google sign-in options
  • Added proper environment variables support for Google OAuth

How to Test

  1. Go to homepage → Click "Sign In to Continue"
  2. On sign-in page, test both:
    • Sign in with GitHub (should still work)
    • Sign in with Google (new)
  3. Verify successful redirect to dashboard after login
  4. Check that existing functionality is not broken

Checklist

  • Google login works
Screenshot 2026-05-18 031254 Screenshot 2026-05-18 031254
  • GitHub login still works
  • No TypeScript errors
  • npm run lint passes
  • Self-reviewed the code

Ready for review.

@vercel
Copy link
Copy Markdown

vercel Bot commented May 17, 2026

@saurabh19304 is attempting to deploy a commit to the PRIYANSHU DOSHI's projects Team on Vercel.

A member of the Team first needs to authorize it.

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