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 System #1

Open
Somya2010 opened this issue Jan 25, 2025 · 0 comments
Open

Implement User Authentication System #1

Somya2010 opened this issue Jan 25, 2025 · 0 comments
Labels
enhancement New feature or request Hard IWOC2025

Comments

@Somya2010
Copy link
Member

Description

Develop a user authentication system that includes registration, login, and password reset functionality. Implement JWT (JSON Web Token) for secure user authentication.

Steps to Implement

  1. Create a registration endpoint (POST /auth/register) that accepts user details and stores them securely in the database.
  2. Implement login functionality (POST /auth/login) that returns a JWT token upon successful authentication.
  3. Add password reset functionality (POST /auth/reset-password).
  4. Protect private routes using JWT authentication middleware.

Expected Outcome

Users can register, log in, and reset passwords securely. Private routes will be protected by JWT authentication.

Resources

@Durgesh4993 Durgesh4993 added Hard enhancement New feature or request IWOC2025 labels Jan 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request Hard IWOC2025
Projects
None yet
Development

No branches or pull requests

2 participants