jwks
Simple library that validates JWT against RS256 JWKS URI
Installation
-
Add the dependency to your
shard.yml
:dependencies: jwks: github: place-lab/jwks
-
Run
shards install
Usage
require "jwks"
Development
Docker
docker build . -t jwks && docker run jwks
Without Docker
- You need to have [email protected]
- For MacOS users, if Crystal has not installed this for you
brew install [email protected]
shards install
crystal spec
crystal tool format --check
bin/ameba
Contributing
- Fork it (https://github.com/dukeraphaelng/jwks/fork)
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request
Contributors
- Duke Nguyen - creator and maintainer