From 39f85305e595f97235d37c74f32d462150bdd3d0 Mon Sep 17 00:00:00 2001 From: Benoit Serrano Date: Tue, 19 Nov 2024 15:52:21 +0100 Subject: [PATCH] add log config --- index.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/index.js b/index.js index 20084c2..a4d6a9b 100644 --- a/index.js +++ b/index.js @@ -156,7 +156,9 @@ app.post( app.get(process.env.CALLBACK_URL, async (req, res, next) => { try { const config = await getProviderConfig(); + console.log(JSON.stringify(config)) const currentUrl = getCurrentUrl(req); + console.log(currentUrl) const tokens = await client.authorizationCodeGrant(config, currentUrl, { expectedNonce: req.session.nonce, expectedState: req.session.state,