{% extends 'administration/base.html.twig' %} {% block title %}{{ title_key|trans }}{% endblock %} {% block body %} {% set ptype = entity is defined ? entity.providerType : form.vars.value.providerType %} {% set slug_for_redirect = ptype != 'custom' ? ptype : (form.slug.vars.value|default('')) %} {% set oauth_callback_url_tpl = absolute_url(path('storefront_oauth_callback', { slug: '__SLUG__' })) %}
{{ 'admin.oauth_inbound.form.step_provider_help'|trans }}
{{ 'admin.oauth_inbound.form.redirect_body'|trans }}
{{ absolute_url(path('storefront_oauth_callback', { slug: slug_for_redirect ?: '…' })) }}
{% if ptype == 'custom' %} {{ 'admin.oauth_inbound.form.redirect_hint_custom'|trans }} {% else %} {{ 'admin.oauth_inbound.form.redirect_hint_preset'|trans }} {% endif %}
{{ 'admin.oauth_inbound.form.step_credentials_help'|trans }}
{{ 'admin.oauth_inbound.form.step_scopes_help'|trans }}
{{ 'admin.oauth_inbound.form.scopes_examples'|trans }}