{% extends "_layouts/cp" %} {% import "_includes/forms" as forms %} {% set title = provider.name~" Console"|t %} {% set crumbs = [ { label: "OAuth"|t, url: url('oauth') }, { label: "Console"|t, url: url('oauth/console') } ] %} {% set content %} {% if provider.isConfigured %} {% if token %} {% set account = provider.getResourceOwner(token) %}
{{'You are authenticated to {provider} with the following account'|t({provider:provider.name})}} :
{{ dump(account) }}
{% else %}
{{'Test that the connection with this provider can be made.'|t}}
{% endif %} {% else %} {{ "Not configured"|t }} {% endif %} {% endset %}