sujaltangde / JobLane

JobLane - Full Stack Job application portal built using MERN Stack
https://joblane.vercel.app/
43 stars 50 forks source link

Adding log in with google feature #23

Open MuthuvelA opened 1 month ago

MuthuvelA commented 1 month ago

Overview: The current authentication system in the JOBLANE project requires users to sign up using traditional email/password methods. To enhance user convenience and broaden accessibility, it would be beneficial to implement "Login with Google" authentication, allowing users to log in with their Google accounts.

Proposed Solution: Integrate Google OAuth 2.0 authentication into the JOBLANE project to enable "Login with Google" functionality. This will involve setting up the necessary authentication routes, configuring Passport.js with the Google OAuth strategy, and handling user authentication and session management.

Steps to Implement:

Setup Google Developer Console:

Install Required Packages: Utilize npm or yarn to install necessary packages such as passport, passport-google-oauth20, and express-session. Configure Passport.js:

Initialize Passport.js in the application. Configure Passport to use the Google OAuth 2.0 authentication strategy with the obtained client ID, client secret, and callback URL.

Set Up Authentication Routes:

Define routes for initiating the Google OAuth flow and handling the callback from Google. Implement logic to authenticate users based on Google's response and manage user sessions.

I can implement the functionality effectively and please assign this issue to me

Shruti-Sawant commented 1 month ago

I can implementing login with Google feature seamlessly into web applications. Assign this task to me, and I'll integrate the login with Google functionality, enhancing user convenience and security under Gssoc'24

MuthuvelA commented 1 month ago

@Shruti-Sawant i am also a contributor and i raised this issue plz do apply for another issue