{% extends "layout.html" %} {% block content %}

{% trans %}Sign in to explore OAuth 2.0 and OpenID Connect flows. Test registration, authentication, token refresh, and logout operations.{% endtrans %}

{{ auth_params_form.hidden_tag() }} {% trans %}Authorization parameters{% endtrans %} {% if auth_params_form.scopes.choices %}
{{ auth_params_form.scopes.label.text }} {% if auth_params_form.scopes.description %} {{ auth_params_form.scopes.description }} {% endif %} {{ auth_params_form.scopes() }}
{% endif %} {% if auth_params_form.ui_locales.choices|length > 1 %} {% endif %}
{% if g.server_config and g.server_config.registration_access_token %}
{{ unregister_form.hidden_tag() }} {{ unregister_form.submit() }}
{% endif %} {% if session.token and session.token.refresh_token %}
{{ refresh_form.hidden_tag() }} {{ refresh_form.submit() }}
{% endif %} {% if session.token %}
{% trans %}Log out{% endtrans %} {% if g.server_config and g.server_config.specs and g.server_config.specs.oidc_rpinitiated_logout %} {% trans %}Server log out{% endtrans %} {% endif %}
{% endif %}
{% endblock %}