From 45a9f209ffac6dee0cdcbc05efdbd41ed9dfdd3b Mon Sep 17 00:00:00 2001 From: LoneRifle Date: Fri, 14 Sep 2018 15:40:20 +0800 Subject: [PATCH] Fix typo in README --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 57a54d7..c970e6a 100644 --- a/README.md +++ b/README.md @@ -49,7 +49,7 @@ app.route('/assert', (req, res) => { } else { // Embed a session cookie or pass back some Authorization bearer token const FOUR_HOURS = 4 * 60 * 60 * 1000 - const jwt = client.createJWT(userName, FOUR_HOURS) + const jwt = client.createJWT({ userName }, FOUR_HOURS) res.cookie('connect.sid', jwt) } res.redirect(relayState)