Closed SHIV5T3R closed 11 months ago
I’ll work on this.
can work together with @sarah-is-coding on that one if she wants to :)
@dglalperen @sarah-is-coding Updated the issue, auth will use GH oauth
@dglalperen @sarah-is-coding edited again, github oauth will be something we do at a later date.
Just to update. @dglalperen is working on register/login and I’m working on the profile/logout
@sarah-is-coding @dglalperen do you need any help on this? 😄
@sarah-is-coding @dglalperen do you need any help on this?
currently working on their initial implementation (just ui, without be integration). I also opened a pr
You guys are good to work on this I’ve been wrapped up in a ton of things all the sudden.
From: hobi9 @.> Sent: Monday, August 14, 2023 2:34 PM To: SHIV5T3R/CO-DE @.> Cc: Sarah Murdock @.>; Mention @.> Subject: Re: [SHIV5T3R/CO-DE] User Authentication Forms (Issue #13)
currently working on their initial implementation (just ui, without be integration). I also opened a pr
— Reply to this email directly, view it on GitHubhttps://github.com/SHIV5T3R/CO-DE/issues/13#issuecomment-1677868083, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AO5MNOKDXF5CVESIWNQABE3XVJVSZANCNFSM6AAAAAA3IMDLXI. You are receiving this because you were mentioned.Message ID: @.***>
This issue focuses on implementing user authentication, enabling users to register, log in, and access personalized content. By introducing this feature, the application will ensure user security and provide a tailored experience for each user.
Expected Behavior
Registration Form
Implement a user registration form that collects essential information such as username, email, and password. Proper validation should be in place to prevent invalid or duplicate registrations.
Login Form
Create a login form that enables users to authenticate by providing valid credentials. The form should securely validate credentials and grant access to authorized users.
Authentication Flow
Implement an authentication flow that handles user registration, login, and logout. The flow should guide users through each step and provide appropriate feedback.
User Profile
After logging in, users should be able to access their profile page, where they can view and edit their account information.
Authorization Checks
Implement authorization checks to ensure that certain routes and features are accessible only to authenticated users.
Error Handling / Display
Implement error handling mechanisms to display meaningful messages to users in case of registration or login errors.
Authentication State Management
Use state management libraries (e.g., React Context or Redux) to manage and propagate the user's authentication status across different components.
Logout Functionality
Provide users with the ability to log out, which should invalidate their authentication token and redirect them to an appropriate landing page.
Introducing user authentication in the front end will provide a secure and tailored experience for users. By implementing this feature, the application will ensure user privacy and security while enabling users to access personalized content and features.