{% extends "accounts/_section.html" %} {% load util %} {% block title %}{{user.username}} - Freesound API access credentials{% endblock %} {% block section_content %}

Your Freesound API access credentials

Existing credentials

{% comment %}{% endcomment %} {% comment %}{% endcomment %} {% comment %}{% endcomment %} {% for credential in user_credentials %} {% comment %}{% endcomment %} {% comment %}{% endcomment %} {% comment %}{% endcomment %} {% endfor %}
NameApi ver.Client id Client secret/Api keyScopeRedirect url Status
{{ credential.name|truncate_string:20 }}{% if credential.version == 'V2' %}V1/{% endif %}{{ credential.version }}{{ credential.client_id }} {{ credential.client_secret }}{{ credential.get_scope_display }}{{ credential.redirect_uri|truncate_string:20 }} edit monitor delete{{ credential.status }}

Get a new credential

{% csrf_token %} {{ form.as_table }}

The OAuth2 callback URL is only used for the authorization process when accessing resources that require OAuth2. At the end of the OAuth2 authorization process, Freesound will redirect the browser to the url specified in this field. In this way your application can be automatically notified when users have given the permissions to access their data. If your application does not support the use of a callback url (generally non web-based applications or non server-based), you must introduce the following url: {{ fs_callback_url }}.
See the API docummentation for more information.

{% endblock %}