{"id":63960,"library":"pac4j-jwt","title":"Pac4j JWT","description":"Pac4j JWT provides JWT token support for authentication and authorization in Java applications.","status":"active","version":"6.5.1","language":"java","source_language":null,"source_url":"https://github.com/pac4j/pac4j","tags":["pac4j","jwt","authentication","security"],"install":[{"cmd":"<dependency>\n  <groupId>org.pac4j</groupId>\n  <artifactId>pac4j-jwt</artifactId>\n  <version>6.5.1</version>\n</dependency>","lang":"xml","label":"Maven"},{"cmd":"implementation 'org.pac4j:pac4j-jwt:6.5.1'","lang":"groovy","label":"Gradle"}],"dependencies":[],"imports":[{"symbol":"JwtProfile","correct":"org.pac4j.jwt.profile.JwtProfile"}],"quickstart":{"code":"import org.pac4j.jwt.profile.JwtProfile;\n\npublic class Example {\n    public void authenticate() {\n        JwtProfile profile = new JwtProfile();\n        profile.setId(\"user123\");\n    }\n}","lang":"java","description":"Create a JWT-based user profile for authentication."},"warnings":[{"fix":"Add nimbus-jose-jwt as a dependency.","message":"Pac4j JWT requires a compatible JWT library (e.g., Nimbus JOSE+JWT) on the classpath.","severity":"gotcha","affected_versions":"*"}],"env_vars":null,"search_vec":"'applic':15 'authent':10,18 'author':12 'java':14 'jwt':2,4,6,17 'pac4j':1,3,16 'provid':5 'secur':19 'support':8 'token':7","created_at":"2026-06-17T16:50:06.035057+00:00","updated_at":"2026-06-17T16:50:06.035057+00:00","problems":[],"ecosystem":"maven","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/pac4j/pac4j","github":"https://github.com/pac4j/pac4j","docs":"https://appdoc.app/artifact/org.pac4j/pac4j-jwt/","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["auth","utility"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-17","next_check":"2026-12-14","install_tag":null}}