{% 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 %}
{{ client.client_secret[:8] }}...{{ client.client_secret[-4:] }}
{% 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'