jwt icon indicating copy to clipboard operation
jwt copied to clipboard

Community maintained clone of https://github.com/dgrijalva/jwt-go

Results 98 jwt issues
Sort by recently updated
recently updated
newest added

Hello! is there a way to add an expiration skew to the `jwt.Parse()` function to add for example 5 minute buffer for expiry? let's say the token expired at 12:50:30...

It's not obvious how this works from the name and similar functions. Both in why you might pass an empty object (which is common, to change the type being parsed...

Hello, I have two questions for you. 1. Why do I Validate Claims first and Perform Validation later? 2. In line 70 of Parser. go, ValidationError.Errors is used XOR, but...

👋 I noticed that only a subset of the registered claims can be configured to be required. PR #351, for example, adds the `requireExp` field to the core `Validator`. Other...

This PR adds support for `Token` and `Parser` using custom JSON and base64 encoders to encode/decode related data for performance and experimentation purpose. By implementing the `Base64Encoder` interface with `EncodeToString`...

This PR introduces the type parameters to the API, allowing token claims to be accessed directly using their concrete types, without type assertions. The change bumps the minimal go version...

This adds azp (authorized party) claim to the `Claims`. We ran into the issue where using OpenID this field comes up very often. It's not part of JWT spec, but...

I'm currently facing an issue where our company has an authorization server where users are authenticated. This server signs tokens using private/public key pairs ans distribute keys in JWK format....

This library can not be used normally in Golang because built-in Go library does not support parsing RSA-PSS (RSASSA-PSS) keys. Parsing an RSA-PSS (RSASSA-PSS) key throws a following error: >...

Hi there, I've just updated to `v5` and found that the new `RegisteredClaims` (in `registered_claims.go`) struct allows for a `[]string` type via the `ClaimStrings` type. This opens the way for...