Skip to content

2 ports, one to make JWTs, another to verify them

License

Notifications You must be signed in to change notification settings

segator/jwt-maker

 
 

Repository files navigation

A service that can generate JWTs on a private port, then serve JWKS keys and /userinfo calls on a public port.

  • 8000: public port
    • GET /.well-known/openid-configuration
    • GET /.well-known/keys
  • 8001: private, admin port
    • POST /tokens/jobs/generate

Generate An RSA private key

Run make cert to build private key cert/id_rsa and public key cert/id_rsa.pub

Configuring

Configured with a config.yaml file in the working directory, or via environment variables

config key env_variable description default
private_key JWT_PRIVATE_KEY path to private key ./cert/id_rsa

Build

make docker

Run

make run

About

2 ports, one to make JWTs, another to verify them

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 90.8%
  • Makefile 6.2%
  • Dockerfile 3.0%