bigskysoftware / htmx

</> htmx - high power tools for HTML
https://htmx.org
Other
37.22k stars 1.26k forks source link

Support a HTMX attribute to trigger webauthn #2694

Open Firstyear opened 2 months ago

Firstyear commented 2 months ago

Webauthn is extremely javascript dependent, and requests to the working group have seemingly stalled.

Because of the javascript forward nature of webauthn, this also makes it non-obvious how to integrate to htmx. It would be good to have either examples of using webauthn with htmx, or native htmx wrappers to facilitate this. Thanks!

Telroshan commented 1 month ago

Hey, just to inform you that until this becomes a standard that would make sense to have it in the lib's core, if you'd like to try implementing a htmx way to handle this, you'll first want to implement it as an extension, see the extensions repo where we also list community extensions.

Ofc, if you find a way to support it without any change to htmx, then this might simply be a documentation PR to add an example for it!