-
Notifications
You must be signed in to change notification settings - Fork 51
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
Implementing JWT Authentication and Authorization in password/email #30
Comments
👋 Thank you for raising an issue! We appreciate your effort in helping us improve. Our team will review it shortly. Stay tuned! |
Assigned. You're good to go @Priyatosh11 |
Hey! Can you please assign this to me ? |
please explain your approach first |
Could you please assign this issue |
Explain your approach buddy |
Tasks: Design a Signup form with fields: username, email, and password. Integrate the forms with the backend API for user registration and authentication. |
@jinx-vi-0 do we need it? decide and take appropriate action. |
@jindalpriyanshu101 Do you want login and signup functionality using JWT..??? Please assign to me:) |
Here is how JWT Works for Authentication
User Login:
When a user logs in with their credentials (e.g., email and password), the server validates these credentials.
If the login is successful, the server generates a JWT and sends it back to the client.
JWT Structure: A JWT consists of three parts:
Header: Contains metadata about the token, such as the signing algorithm used (e.g., HMAC, RSA).
Payload: The data being transmitted, such as user ID or roles. It contains claims (e.g., user ID, expiration time).
Signature: Created by encoding the header and payload using a secret key. It ensures that the token hasn't been altered.
@jinx-vi-0 I am interested to work on the above issue raised by me, please assign me this issue of adding JWT secure authentication
The text was updated successfully, but these errors were encountered: