From 73c3f51ff8251592b8119048795a91c8d1cc9ba9 Mon Sep 17 00:00:00 2001 From: Benoit Serrano Date: Thu, 14 Nov 2024 19:47:00 +0100 Subject: [PATCH] log session --- index.js | 1 + 1 file changed, 1 insertion(+) diff --git a/index.js b/index.js index 20084c2..52573b2 100644 --- a/index.js +++ b/index.js @@ -157,6 +157,7 @@ app.get(process.env.CALLBACK_URL, async (req, res, next) => { try { const config = await getProviderConfig(); const currentUrl = getCurrentUrl(req); + console.log(req.session) const tokens = await client.authorizationCodeGrant(config, currentUrl, { expectedNonce: req.session.nonce, expectedState: req.session.state,