[GH-ISSUE #5256] Move WebAuthn support to a plugin #10196

Closed
opened 2026-04-13 06:10:42 -05:00 by GiteaMirror · 4 comments
Owner

Originally created by @benmccann on GitHub (Oct 12, 2025).
Original GitHub issue: https://github.com/better-auth/better-auth/issues/5256

Is this suited for github?

  • Yes, this is suited for github

better-auth has 37 dependencies from 27 maintainers. 23 of the dependencies from 18 dependencies are due to WebAuthn support.

Extra dependencies add a large amount of risk due to all of the recent supply chain attacks in the npm ecosystem. 2/3 of this risk comes from WebAuthn support, which is a feature many users don't need in their app

Describe the solution you'd like

Move WebAuthn support to a plugin

Describe alternatives you've considered

Make WebAuthn dependencies optional peer dependencies

Additional context

No response

Originally created by @benmccann on GitHub (Oct 12, 2025). Original GitHub issue: https://github.com/better-auth/better-auth/issues/5256 ### Is this suited for github? - [x] Yes, this is suited for github ### Is your feature request related to a problem? Please describe. `better-auth` has 37 dependencies from 27 maintainers. 23 of the dependencies from 18 dependencies are due to WebAuthn support. Extra dependencies add a large amount of risk due to all of the recent supply chain attacks in the npm ecosystem. 2/3 of this risk comes from WebAuthn support, which is a feature many users don't need in their app ### Describe the solution you'd like Move WebAuthn support to a plugin ### Describe alternatives you've considered Make WebAuthn dependencies optional peer dependencies ### Additional context _No response_
GiteaMirror added the enhancementlocked labels 2026-04-13 06:10:43 -05:00
Author
Owner

@ping-maxwell commented on GitHub (Oct 13, 2025):

Hey yeah it's already planned that each plugin will be a separate package, it should land in 1.4.

<!-- gh-comment-id:3397979504 --> @ping-maxwell commented on GitHub (Oct 13, 2025): Hey yeah it's already planned that each plugin will be a separate package, it should land in 1.4.
Author
Owner

@benmccann commented on GitHub (Oct 18, 2025):

Thanks @ping-maxwell @Bekacru. Should this issue be added to the 1.4 milestone?

<!-- gh-comment-id:3418399898 --> @benmccann commented on GitHub (Oct 18, 2025): Thanks @ping-maxwell @Bekacru. Should this issue be added to the 1.4 milestone?
Author
Owner

@ping-maxwell commented on GitHub (Oct 19, 2025):

Yeah I'm pretty sure it will be in 1.4

<!-- gh-comment-id:3419726306 --> @ping-maxwell commented on GitHub (Oct 19, 2025): Yeah I'm pretty sure it will be in 1.4
Author
Owner

@benmccann commented on GitHub (Nov 22, 2025):

Fixed!

https://npmgraph.js.org/?q=better-auth@1.4.0

<!-- gh-comment-id:3565511615 --> @benmccann commented on GitHub (Nov 22, 2025): Fixed! https://npmgraph.js.org/?q=better-auth@1.4.0
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/better-auth#10196