jwks v0.2.1
jwks
Simple library that validates JWT against RS256 JWKS URI
Installation
-
Add the dependency to your
shard.yml
: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
License
Repository
jwks
Owner
Statistic
- 4
- 0
- 3
- 1
- 5
- over 3 years ago
- March 3, 2021
License
MIT License
Links
Synced at
Sun, 22 Dec 2024 06:47:15 GMT
Languages