{# -*- coding: utf-8 -*- This file is part of Invenio. Copyright (C) 2015-2018 CERN. Invenio is free software; you can redistribute it and/or modify it under the terms of the MIT License; see LICENSE file for more details. #} {%- extends "invenio_oauth2server/settings/index.html" %} {%- import "invenio_oauth2server/settings/helpers.html" as helpers with context %} {%- from "invenio_oauth2server/settings/_macros.html" import render_field with context %} {% block settings_content %} {{ helpers.panel_start(_('Application / %(client_name)s', client_name=client.name), with_body=False,) }}
Client ID{{client.client_id}}
Client Secret{{client.client_secret}}
{{ _('Do not share the client secret with anyone!') }}
{{ _('Authorize URL (GET)') }}
{{url_for('invenio_oauth2server.authorize', _external=True, _scheme='https')}}
{{ _('Query parameters') }} (
{{ _('example request') }}
):
code
or token
)
{{ _('Access token URL (POST)') }}
{{ url_for('invenio_oauth2server.access_token', _external=True, _scheme='https')}}
Request body parameters:
{{c}}
{% if not loop.last %}, {% endif %}{% endfor %}).authorization code
).client_credentials
).refresh_token
).