From 959652b3d35368c67c7facfca122cc0cfa3a4a84 Mon Sep 17 00:00:00 2001 From: divlo Date: Thu, 28 Jan 2021 18:53:56 +0100 Subject: [PATCH] docs(readme): key.getPublicKey() with jwks-rsa --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 54759ee..042c53c 100644 --- a/README.md +++ b/README.md @@ -75,7 +75,7 @@ io.use( authorize({ secret: async (decodedToken) => { const key = await client.getSigningKeyAsync(decodedToken.header.kid) - return key.rsaPublicKey + return key.getPublicKey() } }) )