Implement a robust and user-friendly login mechanism that allows users to securely log in using their email and password credentials.
Approach
Implement a login mechanism that allows users to log in using their credentials (email and password) while utilizing HTTP-only Cookies for enhanced security.
Upon successful authentication, save the authenticated user's data in context. This context should be accessible from any part of the application, ensuring that user-specific information is available where needed.
Screenshots
Checklist
[x] This PR doesn't commit any keys, passwords, tokens, usernames, or other secrets.
Purpose
The purpose of this PR is to fix #55
Goals
Implement a robust and user-friendly login mechanism that allows users to securely log in using their email and password credentials.
Approach
Implement a login mechanism that allows users to log in using their credentials (email and password) while utilizing HTTP-only Cookies for enhanced security. Upon successful authentication, save the authenticated user's data in context. This context should be accessible from any part of the application, ensuring that user-specific information is available where needed.
Screenshots
Checklist
Related PRs
## Test environment Node v18, macOS latest, chrome latest ## LearningUser Authentication, Typescript, useContext