{% block app_show %}

{% trans 'Application' %}

{% trans 'settings OAuth' %}

{% trans 'Les parametres oauth de votre application.' %}

{% if app.get_type == constant('API_OAuth2_Application::DESKTOP_TYPE') %} {% else %} {%endif%}
Client ID {{app.get_client_id}}
Client Secret {{app.get_client_secret}}
{% trans 'URL de callback' %} {{app.get_redirect_uri}} {{app.get_redirect_uri}}
Authorize endpoint {{registry.get('GV_ServerName')}}api/oauthv2/authorize
Access endpoint {{registry.get('GV_ServerName')}}api/oauthv2/token

{% trans 'Votre token d\'access' %}

{% trans 'Les paramétres oauth de votre application.' %}

{% trans 'Token' %} {% if not token is none %} {{token|default('')}} {% else %} {% trans 'Le token n\'a pas encore ete genere' %} {% endif %}
{% endblock %}