- Login, registration, logout, and checking user's authentication status.
- Storing authenticated users in global context.
- Checking if a user is logged in based on their HTTP-only cookie/JWT token.
- Protecting routes for authenticated users only.
- Redirecting users and conditional rendering based on their authentication status.
-
Notifications
You must be signed in to change notification settings - Fork 29
jawblet/auth
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Template for JWT authentication in a MERN app with protected routes
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published