Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/webxrahat/user-system-authentication
https://github.com/webxrahat/user-system-authentication
Last synced: 4 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/webxrahat/user-system-authentication
- Owner: webxrahat
- Created: 2023-01-15T19:29:11.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-01-15T19:57:46.000Z (almost 2 years ago)
- Last Synced: 2024-10-17T18:02:36.682Z (about 1 month ago)
- Language: JavaScript
- Size: 75.2 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Implement jwt authentication system with refresh tokens with Nodejs, JWT, MongoDB
+ `POST` User can register and login using username, password
+ Return a jwt access token and user details in body, and a http only refresh token in cookie.
+ logout Protected route Revoke the refresh token and clear the cookies
+ Api documentation Postman