A new application would like to connect to your account

  • {% if client.image %} Client icon {% endif %} {{ client.name }}

    {{ client.description }}

{% set scopes = form.scope.vars.value | split(' ') %} {# TODO : Fix me when https://github.com/FriendsOfSymfony/FOSOAuthServerBundle/issues/309 is ok #}
    {% for scope in scopes %} {% if scope == 'read' %}
  • visibilityRead Permission
    {{ client.name }} will be able to access the list and contents of your entries, tags and annotations.
  • {% endif %} {% if scope == 'write' %}
  • editEdit Permission
    {{ client.name }} will be able to edit and manage (including deleting) your entries, tags and annotations.
  • {% endif %} {% if scope == 'user' %}
  • personUser Permission
    {{ client.name }} will be able to manage your user account.
  • {% endif %} {% endfor %}
{{ form_start(form, {'method': 'POST', 'action': path('fos_oauth_server_authorize'), 'label_attr': {'class': 'fos_oauth_server_authorize'} }) }} {{ form_row(form.client_id) }} {{ form_row(form.response_type) }} {{ form_row(form.redirect_uri) }} {{ form_row(form.state) }} {{ form_row(form.scope) }} {{ form_rest(form) }}