BasicOIDC/templates/login/webauthn_input.html

20 lines
555 B
HTML
Raw Normal View History

2022-04-23 16:56:14 +00:00
{% extends "base_login_page.html" %}
{% block content %}
<div>
<p>Please insert now your security key <i>{{ factor.name }}</i>, and accept authentication request.</p>
</div>
<div style="margin-top: 10px;">
<a href="/2fa_auth?force_display=true&redirect={{ _p.redirect_uri.get_encoded() }}">Sign in using another factor</a><br/>
<a href="/logout">Sign out</a>
</div>
<script>
const OPAQUE_STATE = "{{ opaque_state }}";
const AUTH_CHALLENGE = JSON.parse(decodeURIComponent("{{ challenge_json }}"));
</script>
{% endblock content %}