From 4eb65628835b256f698f329202d00f73ef9e9483 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}) ```