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

User Authentication: Introducing Login/Sign-up Functionality #10

Closed
sammy429b opened this issue May 10, 2024 · 9 comments
Closed

User Authentication: Introducing Login/Sign-up Functionality #10

sammy429b opened this issue May 10, 2024 · 9 comments

Comments

@sammy429b
Copy link

As our open-source chat application gains traction among users, it's crucial to prioritize the implementation of a robust authentication system. Introducing login and sign-up functionality not only enhances user experience but also bolsters security measures. By enabling users to create accounts and authenticate themselves securely, we can personalize their experience, facilitate user engagement, and ensure data privacy.

Objective:
The primary objective of this enhancement is to integrate a user authentication system into our open-source chat application. This includes implementing features such as user registration, login, password management, and session handling.

Key Features:

  1. User Registration: Allow users to create new accounts by providing essential details such as username, email, and password.
  2. Login: Enable registered users to authenticate themselves securely using their credentials.
  3. Password Management: Implement password encryption and provide options for password reset and recovery.
  4. Session Handling: Maintain user sessions securely to ensure seamless navigation within the application.
  5. Security Measures: Implement robust security measures such as encryption, hashing, and protection against common vulnerabilities like SQL injection and cross-site scripting (XSS).
@urstrulynishkarsh
Copy link
Owner

urstrulynishkarsh commented May 10, 2024 via email

@Ashutowsh
Copy link

Ashutowsh commented May 10, 2024

Hey! @urstrulynishkarsh I'm excited to contribute to the project by implementing the login and signup functionality.

Here are the two approaches we can follow to implement the authentication part :

  1. Authentication using Appwrite or Firebase
    We can directly make use of these backend services for authentication

  2. Authentication using custom logins/registration using JSON Web Tokens (JWT) :
    Another method we could explore is implementing custom login and registration using JSON Web Tokens (JWT). With JWT, we can securely manage user authentication without relying on third-party services. This approach offers flexibility and control over user authentication processes while maintaining security standards.

Let me know your thoughts on this approach!

Also, I have worked on socket.io and have a good experience of handling such backend portions. I am eager to work and contribute on this project. Can you assign this issue to me? GSSC'24

@urstrulynishkarsh
Copy link
Owner

urstrulynishkarsh commented May 10, 2024 via email

@sammy429b
Copy link
Author

sammy429b commented May 10, 2024

But chat app have to provide feature show chat history and authentic user for conversation for that user data is necessary

@Ashutowsh
Copy link

So, @urstrulynishkarsh can you brief us about the requirements and specifications needed to contribute into authentication part for this application.

@IP80808080
Copy link
Contributor

👋 Hello! I'd be happy to help with this issue. Could you please assign it to me? Additionally, could you please label it for the appropriate level? Thank you! 🚀

@asr2003
Copy link

asr2003 commented May 10, 2024

@urstrulynishkarsh I think it's better to add this feature to our project. What do you think?

@urstrulynishkarsh
Copy link
Owner

urstrulynishkarsh commented May 10, 2024 via email

@asr2003
Copy link

asr2003 commented May 10, 2024

Closing. It isn't the part of project roadmap. Thanks @sammy429b for suggesting this feature :)

@asr2003 asr2003 closed this as not planned Won't fix, can't repro, duplicate, stale May 10, 2024
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