Sign inSign up

jdabbs/jwt-server

By jdabbs

•Updated about 6 years ago

A basic Sinatra server to parse, validate, and display JWTs, suitable for use behind an oauth2-proxy

Image
0

912

jdabbs/jwt-server repository overview

A basic Sinatra server to parse, validate, and display JWTs, suitable for use behind an oauth2-proxy⁠.

Docker Build Status

⁠Running Locally

To run just the Sinatra app directly

$ ruby server.rb

In this case, you will need to provide a valid JWT as an Authorization: Bearer token.

To run the server behind an oauth2-proxy

$ cp sample.env .env
# Provision an OIDC client and update .env with valid settings
$ docker-compose up

⁠Running with Docker

A public image is available at jdabbs/jwt-server⁠

$ docker run --rm -p 4567:4567 jdabbs/jwt-server

Tag summary

Content type

Image

Digest

Size

333 MB

Last updated

about 6 years ago

docker pull jdabbs/jwt-server