Skip to content

Commit

Permalink
slightly augment docs
Browse files Browse the repository at this point in the history
  • Loading branch information
lestrrat committed Mar 11, 2024
1 parent 79e3751 commit f5472fa
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
3 changes: 3 additions & 0 deletions Changes
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@ v2.0.22 UNRELEASED
default validators (`iat`, `exp`, and `nbf`), so that you can completely customize
the validation with the validators you specify using `jwt.WithValidator()`.

This sort of behavior is useful for special cases such as
https://openid.net/specs/openid-connect-rpinitiated-1_0.html

v2.0.21 07 Mar 2024
[Security]
* [jwe] Added `jwe.Settings(jwe.WithMaxDecompressBufferSize(int64))` to specify the
Expand Down
4 changes: 3 additions & 1 deletion jwt/options.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,9 @@ options:
Using this option with the value `true` will remove all default checks,
and will expect you to specify validators as options. This is useful when you
want to skip the default validators and only use specific validators.
want to skip the default validators and only use specific validators, such as
for https://openid.net/specs/openid-connect-rpinitiated-1_0.html, where
the token could be accepted even if the token is expired.
If you set this option to true and you do not specify any validators,
`jwt.Validate()` will return an error.
Expand Down

0 comments on commit f5472fa

Please sign in to comment.