Get auth challenge
This commit is contained in:
20
templates/login/webauthn_input.html
Normal file
20
templates/login/webauthn_input.html
Normal file
@ -0,0 +1,20 @@
|
||||
{% 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 %}
|
Reference in New Issue
Block a user