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 user authentication and authorization using NextAuth and Google #1

Open
hardiksachan opened this issue Oct 3, 2023 · 2 comments
Assignees
Labels

Comments

@hardiksachan
Copy link
Member

Implement user authentication and authorization using NextAuth, using google provider to register and log in users. Only people with @nitdelhi.ac.in email addresses should be able to access the application.

Tasks:

  1. Setup NextAuth in Next JS project. Documentation.
  2. Implement authentication in your Next.js application using the google provider.
  3. Use a Postgres Database using DrizzleORM to store user details.

Additional Information

  • The NextAuth documentation provides detailed instructions on how to implement authentication in Next.js applications.
  • You can use the NextAuth API to create and manage user accounts, roles, and permissions.
  • You can use the NextAuth SDK to get the current user's information and check their role.
@Shwetanshu13
Copy link

Sir, Can I solve this issue ?

@hardiksachan
Copy link
Member Author

hardiksachan commented Oct 5, 2023

Sure @Shwetanshu13, assigning this to you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants