Skip to content

romanV7/jwt

Repository files navigation

JWT based user authentication.

Description

We have two servers:
first one is server.js, which handles all of our creation, deletion and refreshen of tokens and another server - authServer.js servers to handle our specific usecase of getting, saving post, all of our different API related tasks but not authentication.

How to use: see requests.md file

Concepts covered:

-How to use JWT
-Creating Node.js authentication middleware
-Using refresh tokens with JWT
-Authentication users with JWT
-Invalidating refresh tokens to log users out
-Using MongoDB & Mongoose

About

Authentication using JWT

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published