ContriHUB / EAT_EASY

EatEasy- A mess management website , Managing Complaints Mastering Satisfaction
MIT License
0 stars 12 forks source link

Sign up using Google , and other social media. #7

Open Codipk opened 4 hours ago

Codipk commented 4 hours ago

The goal is to implement a Signup feature using Google, LinkedIn, and Twitter OAuth. This will allow new users to sign up for the platform without having to create a separate account, by using their existing credentials from Google, LinkedIn, or Twitter. Many users prefer using their social accounts to sign up for platforms. This feature will:

Simplify the signup process. Increase user registration by offering familiar, convenient options. Improve security by leveraging OAuth providers for user authentication and data privacy.

The solution will involve integrating OAuth with Google, LinkedIn, and Twitter for user signup. When a user clicks on one of the social media buttons, they will be redirected to the respective OAuth provider, and after successful authentication, they will be able to create an account using the information from their social profile.

Screenshot 2024-10-09 at 2 30 04 PM

Frontend:

Update the signup page with buttons for Google, LinkedIn, and Twitter. When a user clicks one of the buttons, redirect them to the respective OAuth provider. After successful authentication, handle the user signup process.

Backend:

Configure OAuth strategies in Passport.js (or a similar tool) for each social media provider. Handle token verification, extract user data, and create a new user account in the database. After successful signup, log the user in and redirect them to the main dashboard or homepage.

NOTE: More focussed on the signup with google , if you do linkedin and twitter as well then bonus points will be awarded.

wenayy commented 3 hours ago

assign me this issue

aachintya commented 3 hours ago

I have requested for the issue. Please check