Skip to content

fix(core): prevent multiple experimental warnings with webauthn #12821

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

MatteoGauthier
Copy link

@MatteoGauthier MatteoGauthier commented Mar 27, 2025

☕️ Reasoning

The #12598 issue reports a number of messages in the logs linked to the experimental webauthn feature. This PR limits the number of warnings by using the same procedure as for the debug option.

Tested with https://github.com/nextauthjs/next-auth-example and in apps/dev/nextjs

🧢 Checklist

  • Documentation
  • Tests
  • Ready to be merged

🎫 Affected issues

Fix #12598

📌 Resources

Copy link

vercel bot commented Mar 27, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
auth-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 27, 2025 10:40am
1 Skipped Deployment
Name Status Preview Comments Updated (UTC)
next-auth-docs ⬜️ Ignored (Inspect) Visit Preview Mar 27, 2025 10:40am

Copy link

vercel bot commented Mar 27, 2025

@MatteoGauthier is attempting to deploy a commit to the authjs Team on Vercel.

A member of the Team first needs to authorize it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core Refers to `@auth/core`
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[auth][warn][experimental-webauthn] messages flooding server logs
1 participant