Skip to content

Commit

Permalink
Fix typo in README
Browse files Browse the repository at this point in the history
`allow_nil_kid` option was introduced in #543, but the option name was wrong
in README.

This change fixes the typo.
  • Loading branch information
tatsuyafw authored and anakinj committed Feb 3, 2023
1 parent 18abb5c commit 324941b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -602,7 +602,7 @@ If the requested `kid` is not found from the given set the loader will be called
The application can choose to implement some kind of JWK cache invalidation or other mechanism to handle such cases.

Tokens without a specified `kid` are rejected by default.
This behaviour may be overwritten by setting the `allow_nil_jwks` option for `decode` to `true`.
This behaviour may be overwritten by setting the `allow_nil_kid` option for `decode` to `true`.

```ruby
jwks_loader = ->(options) do
Expand Down

0 comments on commit 324941b

Please sign in to comment.