diff --git a/fir_api/templates/fir_api/plugins/user_profile.html b/fir_api/templates/fir_api/plugins/user_profile.html index ecb4877e..ee3e1267 100644 --- a/fir_api/templates/fir_api/plugins/user_profile.html +++ b/fir_api/templates/fir_api/plugins/user_profile.html @@ -1,19 +1,17 @@ {% load i18n %} {% if perms.incidents.handle_incidents and not oidc_enabled %} -
+
-
-
-

FIR API - {% trans "API Access" %}

-
-
+
+
FIR API - {% trans "API Access" %}
+

You need to be authenticated in order to use the API. It will accept session or token based authentication. Tokens can be managed in the administration interface and should be specified as a request header.

Example:
X-Api: Token {{ user.auth_token.key }}
- +
{% trans "Token" %}{{ user.auth_token.key }}
{% trans "Created" %}{{ user.auth_token.created }}