Skip to content

Commit

Permalink
fix document about passing JWKs as a simple Hash
Browse files Browse the repository at this point in the history
  • Loading branch information
takayamaki authored and anakinj committed Sep 8, 2021
1 parent 744933b commit 1a4e401
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -518,7 +518,7 @@ end
or by passing JWK as a simple Hash

```
jwks = { keys: [{ ... }] } # keys needs to be Symbol
jwks = { keys: [{ ... }] } # keys accepts both of string and symbol
JWT.decode(token, nil, true, { algorithms: ['RS512'], jwks: jwks})
```

Expand Down

0 comments on commit 1a4e401

Please sign in to comment.