Skip to content
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

Implement Google and GitHub OAuth Authentication in Backend #108

Closed
akshayw1 opened this issue Nov 14, 2024 · 6 comments
Closed

Implement Google and GitHub OAuth Authentication in Backend #108

akshayw1 opened this issue Nov 14, 2024 · 6 comments
Assignees

Comments

@akshayw1
Copy link

Is your feature request related to a problem? Please describe.
Currently, the authentication system relies only on manual email registration, which can be cumbersome for users who prefer quick login options via Google or GitHub. This limitation may discourage potential users who expect OAuth integration for a streamlined and secure login experience.

Describe the solution you'd like
Implement backend support for Google and GitHub OAuth authentication. This would involve setting up OAuth endpoints to handle user login and registration, redirecting to the respective provider's authorization page, and handling the token exchange. After successful authentication, our backend should store essential user details (e.g., unique ID, email, profile picture URL) and create a new user entry if one does not already exist.

Describe alternatives you've considered

  1. Adding only Google OAuth initially, with the possibility of adding other providers in the future.
  2. Implementing a custom session management system to link OAuth logins with existing email-based accounts.

Additional notes:
This feature will provide users with a more secure and convenient login option, improving user experience and potentially increasing user retention. For GitHub OAuth, ensure that necessary scopes are requested to allow retrieval of basic profile information.

@akshayw1
Copy link
Author

Please assign @rajutkarsh07

@Anushlinux
Copy link

Hi, I am a backend dev who have implemented Oauth in many of my projects, Can i work on this?

@kartik-212004
Copy link

I'm interested in working on this issue and would appreciate being assigned to it.

@rajutkarsh07
Copy link
Collaborator

@akshayw1 are you still working on this issue?

@akshayw1
Copy link
Author

Done with it, Will raise a PR tmrw

@mahmoodalisha
Copy link

I have created a PR #113 that works on this issue, I have also added detailed videos of 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

No branches or pull requests

5 participants