{% extends "base.html" %} {% block title %}OAuth Clients - NanoIDP{% endblock %} {% block content %}
| Client ID | Description | Secret (masked) | Actions |
|---|---|---|---|
{{ client.client_id }}
{% if entry.origin == 'runtime' %}
runtime
{% elif entry.origin == 'cimd' %}
cimd
{% endif %}
|
{{ client.description or '-' }} | {% if client.is_public %} public (none) {% elif client.client_secret %} {# A fixed mask, never a part of the secret and never its length: this page is a read, and management_secret gates mutations only. #} •••••••• {% else %} - {% endif %} | {% if entry.origin == 'runtime' %} managed through /api/runtime {% elif entry.origin == 'cimd' %} {% elif entry.origin == 'declared' %} {% endif %} |
| No OAuth clients configured | |||
Request a token using client credentials:
curl -X POST '{{ request.url_root }}token' \
-u 'CLIENT_ID:CLIENT_SECRET' \
-d 'grant_type=password&username=USER&password=PASS'