Skip to content

ousatov-ua/Authorization-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Authorization server

This is just an example for authorization server that provides api to get access key (JWT)

Authorization

Currenlty, it is for client based authorization.

Client can have roles.

Client make request to get access token (JWT)

Users

Currently, you need to put users into users.json.

Please pay attention that you have to use PasswordUtils to encode password for the user.

RSA public and private keys

Please use next commands to generate them:

openssl genrsa -out rsa.private.key 4096
openssl rsa -in rsa.private.key -out rsa.public.key -pubout -outform PEM

Current RSA are commited to repo, so THEY SHOULD NOT BE USED ON PROD, please generate new ones.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages