Skip to content

Commit

Permalink
log session
Browse files Browse the repository at this point in the history
  • Loading branch information
BenoitSerrano committed Nov 14, 2024
1 parent 6f13192 commit 73c3f51
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 73c3f51

Please sign in to comment.