WebAuthn with HTMX anyone? #1568
Replies: 2 comments
-
Htmx can't really do much for WebAuthn, it needs to use a bunch of JavaScript to run the client-side stuff. The closest you will get to an 'htmx example' is probably https://github.com/AnswerDotAI/fasthtml-example/blob/main/passkey/main.py |
Beta Was this translation helpful? Give feedback.
0 replies
-
No worries. I implemented WebAuthn/Passkeys without HTMX. It is JS-heavy workflow, best to keep it that way. I requires tigth coupling between server and client to implement the 2-step use cases |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
WebAuthn is the new way to do authentication in 2023 and there are some examples for doing this that are heavy on JSON APIs and Javascript. Does anyone have implementation the "htmx way" that can share?
Beta Was this translation helpful? Give feedback.
All reactions