{% extends "layout.html" %} {% block title %}{% trans %}Configure OAuth Client{% endtrans %}{% endblock %} {% block content %}

{% trans %}Choose a configuration method{% endtrans %}

{% trans display_name=g.server_config.display_name %}The {{ display_name }} configuration has been successfully loaded. Now register your client at the {{ display_name }}. Select one of the following options:{% endtrans %}

{% if g.server_config and g.server_config.specs and g.server_config.specs.oauth_2_dynamic_client_registration %}

{% trans %}Dynamic registration{% endtrans %}

{% trans %}This server supports{% endtrans %} {% trans %}dynamic client registration{% endtrans %}. {% trans %}Provide an Initial Access Token if required, then click the button to automatically register this application.{% endtrans %}

{{ dynamic_registration_form.hidden_tag() }} {% if dynamic_registration_form.initial_access_token.errors %} {% for error in dynamic_registration_form.initial_access_token.errors %} {{ error }} {% endfor %} {% endif %}
{{ dynamic_registration_form.initial_access_token(class="form-control") }} {{ dynamic_registration_form.submit(class="primary") }}
{% trans %}What happens next?{% endtrans %}
{% endif %}

{% trans %}Manual configuration{% endtrans %}

{% trans display_name=g.server_config.display_name %}Manually register the client at the {{ display_name }}, then enter the client credentials below.{% endtrans %}

{% trans display_name=g.server_config.display_name %}{{ display_name }} configuration{% endtrans %}

{% trans display_name=g.server_config.display_name %}When creating your OAuth client at the {{ display_name }}, configure these URIs:{% endtrans %}

{% trans %}Redirect URIs{% endtrans %} (redirect_uris):

{% trans %}Post-Logout Redirect URIs{% endtrans %} (post_logout_redirect_uris):

{{ client_form.hidden_tag() }} {% if client_form.client_id.errors %} {% for error in client_form.client_id.errors %} {{ error }} {% endfor %} {% endif %} {% if client_form.client_secret.errors %} {% for error in client_form.client_secret.errors %} {{ error }} {% endfor %} {% endif %} {{ client_form.submit() }}
{% endblock %}