paint-brush
Jwenky: An Express API Server with User Authenticationby@balden
287 reads

Jwenky: An Express API Server with User Authentication

by Greg Kelesidis4mAugust 22nd, 2020
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

Too Long; Didn't Read

Jwenky is an API server coded in Express framework. The server can be one standalone server, functioning as both an Authentication and an Access server. The Jwt is signed by the Auth server with the private RSA key. The client submits both the Jwt, and the cookie, with each request it sends to the Access servers. The system uses a refresh token, in a cookie, to refresh the JWT, which is valid for 20 hours. The whole system does not need any additional XSRf protection; it is Xsrf proof by design. Both the server and the client are available in the Github repo.

Company Mentioned

Mention Thumbnail
featured image - Jwenky: An Express API Server with User Authentication
Greg Kelesidis HackerNoon profile picture
Greg Kelesidis

Greg Kelesidis

@balden

Freelance developer

About @balden
LEARN MORE ABOUT @BALDEN'S
EXPERTISE AND PLACE ON THE INTERNET.
L O A D I N G
. . . comments & more!

About Author

Greg Kelesidis HackerNoon profile picture
Greg Kelesidis@balden
Freelance developer

TOPICS

THIS ARTICLE WAS FEATURED IN...

Permanent on Arweave
Read on Terminal Reader
Read this story in a terminal
 Terminal
Read this story w/o Javascript
Read this story w/o Javascript
 Lite
Learnrepo
Bit