Simple library that validates JWT against RS256 JWKS URI
-
Add the dependency to your
shard.yml
:dependencies: jwks: github: place-labs/jwks
-
Run
shards install
require "jwks"
docker build . -t jwks && docker run jwks
- 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
- Fork it (https://github.com/dukeraphaelng/jwks/fork)
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'feat(jwks.cr): Add some feature'
)- Git Commit Convention: This repository follows Conventional Commits/ the Angular convention. The preferred tool of git commit is commitizen/cz-cli.
- Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request
- Duke Nguyen - creator and maintainer