From 1a4e40182d39dc58cd7ee63754df2b10045f916b Mon Sep 17 00:00:00 2001 From: fusagiko/takayamaki Date: Wed, 8 Sep 2021 09:28:32 +0000 Subject: [PATCH] fix document about passing JWKs as a simple Hash --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index e5aef4f4..20714ec5 100644 --- a/README.md +++ b/README.md @@ -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}) ```