Skip to content

feature/google-auth #1250

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

anujgoyaleng
Copy link

@anujgoyaleng anujgoyaleng commented May 16, 2025

Description
Added Google OAuth authentication to enhance the login system, allowing users to sign in using their Google accounts. This implementation includes both backend integration with Passport.js and frontend UI components.
Related Issues
N/A - This feature was implemented as part of a contribution to improve the authentication system.

Steps to Test

Register your application in the Google Cloud Console to get OAuth credentials
Update the .env file with your GOOGLE_CLIENT_ID and GOOGLE_CLIENT_SECRET
Ensure your Google Cloud Console project has the redirect URI configured as http://localhost:8888/api/auth/google/callback
Start the application (both frontend and backend)
Go to the login page
Click on "Continue with Google" button
Complete the Google authentication flow
Verify that you are successfully logged in and redirected to the dashboard
Screenshots (if applicable)

N/A - The changes include a styled Google login button on the existing login page.

Checklist

✔️ 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