{% extends "_layouts/cp" %} {% import "_includes/forms" as forms %} {% set oauthProvider = authenticationProvider.oauthProvider %} {% set title = oauthProvider.name %} {% set crumbs = [ { label: "Rest"|t, url: url('rest') }, { label: "Authentications"|t, url: url('rest/authentications') } ] %} {% set content %}
{{ getCsrfInput() }}

Status


{% set scope = authenticationProvider.getScope() %}

{{ "OAuth Scope"|t }}

{{ "Scopes express the permissions you'll be authorized for when making requests."|t }}

{% if scope %} {% else %}

{{ "No scope defined." }}

{% endif %} {% if oauthProvider.scopeDocsUrl %}

{{ "See available scopes for {provider}"|t({ provider: oauthProvider.name }) }}

{% endif %}
{% set authorizationOptions = authenticationProvider.getAuthorizationOptions() %}

{{ "OAuth Authorization Options"|t }}

{% if authorizationOptions %} {% else %}

{{ "No authorization options defined." }}

{% endif %}

{{ "OAuth Provider"|t }}

{% if oauthProvider.isConfigured %} {{ "{provider} OAuth provider is configured"|t({ provider: oauthProvider.name }) }} {% else %} {{ "{provider} OAuth provider not configured"|t({ provider: oauthProvider.name }) }} {% endif %}

{{ "{provider} OAuth Settings"|t({ provider: oauthProvider.name }) }}


{% if authentication and authentication.token %} Disconnect {% else %} {% endif %}
{% endset %}