jwks
Simple library that validates JWT against RS256 JWKS URI
Installation
- Add the dependency to your
shard.yml
:
`yaml
dependencies:
jwks:
github: place-labs/jwks
`
- Run
shards install
Usage
require "jwks"
Development
Docker
docker build . -t jwks && docker run jwks
Without Docker
- You need to have openssl@1.1.1
- For MacOS users, if Crystal has not installed this for you
brew install openssl@1.1.1
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 '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
Contributors
- Duke Nguyen - creator and maintainer