Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/nonce check type #4100

Merged
merged 12 commits into from
Aug 16, 2022
Prev Previous commit
Next Next commit
Add further info to debug msg as per PR suggestion
  • Loading branch information
james-bjss committed Aug 15, 2022
commit a144570e1e70715044d40ace8efc752b3717c004
3 changes: 2 additions & 1 deletion packages/next-auth/src/core/lib/oauth/nonce-handler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@ export async function createNonce(options: InternalOptions<"oauth">): Promise<
})

logger.debug("CREATE_ENCRYPTED_NONCE", {
NONCE_MAX_AGE: NONCE_MAX_AGE,
nonce,
maxAge: NONCE_MAX_AGE,
})

return {
Expand Down