Add webauthn-register.ftl page

This commit is contained in:
Joseph Garrone
2024-05-10 21:12:35 +02:00
parent 5cfb289736
commit 652643f189
5 changed files with 309 additions and 1 deletions

View File

@ -235,7 +235,7 @@ export default function WebauthnAuthenticate(props: PageProps<Extract<KcContext,
type="button"
onClick={() => {
assert("webAuthnAuthenticate" in window);
assert(window.webAuthnAuthenticate instanceof Function);
assert(typeof window.webAuthnAuthenticate === "function");
window.webAuthnAuthenticate();
}}
autoFocus