jwks v0.2.1

Simple library that validates JWT against RS256 JWKS URI

jwks

CI Docs GitHub release (latest by date)

Simple library that validates JWT against RS256 JWKS URI

Installation

  1. Add the dependency to your shard.yml:

    dependencies:
      jwks:
        github: place-labs/jwks
    
  2. 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

  1. Fork it (https://github.com/dukeraphaelng/jwks/fork)
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'feat(jwks.cr): Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

Contributors

License

Repository

jwks

Owner
Statistic
  • 4
  • 0
  • 3
  • 1
  • 5
  • about 3 years ago
  • March 3, 2021
License

MIT License

Links
Synced at

Thu, 21 Nov 2024 08:01:54 GMT

Languages