{"repo":"guizmaii-opensource/scala-nimbus-jose-jwt","free":true,"listed":false,"github":"https://github.com/guizmaii-opensource/scala-nimbus-jose-jwt","clone":"git clone https://github.com/guizmaii-opensource/scala-nimbus-jose-jwt.git","description":"JWT validation for Scala","language":"Scala","stars":28,"topics":["scala","jwt"],"license":"MIT","category":"auth-billing-email","readme_excerpt":"scala-nimbus-jose-jwt Small, simple and opinionated JWT token validator for Scala. Previous versions You're reading the README of the v4.x.x of the lib. To read the doc of previous versions: - v3.x.x: see here - v2.x.x: see here - v1.x.x: see here Goal Provide a very simple API to help people do JWT token validation correctly. This project uses Nimbus JOSE + JWT (https://connect2id.com/products/nimbus-jose-jwt) to validate JWT tokens. The aim of this project is not, and will never be, to provide a Scala interface to Nimbus JOSE + JWT . I chose Nimbus JOSE + JWT because it seems to be audited and battle-tested. The code size is small in order to be as readable as possible, so as free of bugs as possible. Setup The library is split into four modules: Core module Contains the base JwtValidator trait and ConfigurableJwtValidator : AWS Cognito module Contains the AwsCognitoJwtValidator (depends on core): Auth0 module Contains the Auth0JwtValidator (depends on core): ZIO module Contains ZioJwtValidator for non-blocking JWT validation with ZIO (depends on core): API The API is very simple: Available API implementations 1. ConfigurableJwtValidator The more flexible implementation of the JwtValidator interface. It only requires a JWKSource instance and a JWTClaimsSetVerifier[SecurityContext] instance. For more information on the different JWKSource implementations Nimbus provides, look at the classes in the com.nimbusds.jose.jwk.source package here: https://www.javadoc.io/doc/com.nimb","default_branch":null,"files":null,"tree":[],"storefront":"/r/guizmaii-opensource","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/guizmaii-opensource/scala-nimbus-jose-jwt/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}