mirror of
https://github.com/kanidm/kanidm.git
synced 2025-02-23 20:47:01 +01:00
Implement credential update page in HTMX --------- Co-authored-by: James Hodgkinson <james@terminaloutcomes.com> Co-authored-by: Firstyear <william@blackhats.net.au>
23 lines
1.3 KiB
HTML
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 %) |