kanidm/server/core/templates/credentials_update_passkeys.html
Merlijn f82a52de3b
[htmx] Credential Update page (#2897)
Implement credential update page in HTMX

---------

Co-authored-by: James Hodgkinson <james@terminaloutcomes.com>
Co-authored-by: Firstyear <william@blackhats.net.au>
2024-08-01 01:17:14 +00:00

23 lines
1.3 KiB
HTML

<hr class="my-4" />
<h4>Passkeys</h4>
<p>Easy to use digital credentials with self-contained multi-factor authentication designed to replace passwords.</p>
<p>
<a target="_blank" href="https://support.microsoft.com/en-us/windows/passkeys-in-windows-301c8944-5ea2-452b-9886-97e4d2ef4422">Windows</a>,
<a target="_blank" href="https://support.apple.com/guide/mac-help/create-a-passkey-mchl4af65d1a/mac">MacOS</a>,
<a target="_blank" href="https://support.google.com/android/answer/14124480?hl=en">Android</a>, and
<a target="_blank" href="https://support.apple.com/guide/iphone/use-passkeys-to-sign-in-to-apps-and-websites-iphf538ea8d0/ios">iOS</a>
have built-in support for passkeys.
</p>
(% for passkey in passkeys %)
<div class="row mb-3">
<div class="col d-flex align-items-center"><span>(( passkey.tag ))</span></div>
<div class="col d-flex justify-content-end">
<button type="button" class="btn btn-danger btn-sml" id="(( passkey.tag ))"
hx-target="#credentialUpdateDynamicSection"
hx-confirm="Are you sure you want to delete passkey (( passkey.tag )) ?"
hx-post="/ui/api/remove_passkey" hx-vals='{"uuid": "(( passkey.uuid ))"}'>
Remove
</button>
</div>
</div>
(% endfor %)