sef-global / scholarx-frontend

This is the frontend of the ScholarX
MIT License
5 stars 57 forks source link

Implement user authentication #56

Closed Madhawa97 closed 1 year ago

Madhawa97 commented 1 year ago

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

image

Checklist

Related PRs

## Test environment Node v18, macOS latest, chrome latest ## Learning

User Authentication, Typescript, useContext