{% extends "base.html" %} {% from "components/ui.html" import breadcrumb, card, copy_button, csrf_field with context %} {% block title %}Sign in with a code ยท {{ APP_NAME }}{% endblock %} {% block heading %}Sign in with a code{% endblock %} {% block subheading %}{{ breadcrumb([("Accounts", "/ui/accounts"), ("Sign in with " ~ (provider | signs_in_at), None)]) }}{% endblock %} {% block content %} {% call card("Enter this code at " ~ (provider | signs_in_at), meta="valid until " ~ (sign_in.expires_at | when)) %}

Open the page below on any device, enter the code and sign in with the account to connect. This page goes on by itself once you did.

{{ sign_in.user_code }}{{ copy_button("user-code", "Copy the code") }}

{{ sign_in.verification_uri }}

{# Asks every few seconds by htmx. Without script, Check now asks once. #}
{{ csrf_field() }}
Cancel
{% endcall %} {% endblock %}