Skip to content

Commit

Permalink
add log config
Browse files Browse the repository at this point in the history
  • Loading branch information
BenoitSerrano committed Nov 19, 2024
1 parent 21ff822 commit 39f8530
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 39f8530

Please sign in to comment.