Skip to content
This repository has been archived by the owner on Jan 21, 2020. It is now read-only.

hftlclub/clauth-server

Repository files navigation

clauth-server

Simple Auth server with JWT

Installation and start

npm install
npm start

Do not forget to provide RSA keys (see below).

Generating RSA key pair

JWT tokens are signed with the asymmetric RS256 algorithm. We need to provide an RSA key pair for that:

openssl genpkey -algorithm RSA -out keys/private.pem -pkeyopt rsa_keygen_bits:2048
openssl rsa -pubout -in keys/private.pem -out keys/public.pem

About

Simple Auth server

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published