Skip to content

programateus/simple-sso

Repository files navigation

Description

This is just a very basic example of SSO.

Installation

You will need at least Node 16 installed and Docker.

First we need to install the projects dependencies, run the following command:

yarn

Generate keys:

ssh-keygen -t rsa -b 4096 -m PEM -f keys/jwtRS256.key
openssl rsa -in keys/jwtRS256.key -pubout -outform PEM -out keys/jwtRS256.key.pub

Then we can run:

docker-compose up

It might be needed to generate Prisma Client and run migrations, you will have to log into the docker container and run the commands from inside:

docker-compose exec api sh
yarn prisma migrate dev

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published