From e6ea64dc332205f63cc89cc9d7624170d0f0f12e Mon Sep 17 00:00:00 2001 From: Mark Rendle Date: Wed, 30 Apr 2014 01:27:43 +0100 Subject: [PATCH] Update README.md Added a note about converting base64 secret keys to Node Buffers. --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index a245849..4e0197b 100644 --- a/README.md +++ b/README.md @@ -20,6 +20,8 @@ io.sockets })); ``` +**Note:** If you are using a base64-encoded secret (e.g. your Auth0 secret key), you need to convert it to a Buffer: `Buffer('your secret key', 'base64')` + __Client side__: ```javascript