{% extends "base.html" %} {% block title %}OAuth Clients - NanoIDP{% endblock %} {% block content %}

OAuth Clients

New Client
{% for client in clients %} {% else %} {% endfor %}
Client ID Description Secret (masked) Actions
{{ client.client_id }} {{ client.description or '-' }} {% if client.is_public %} public (none) {% elif client.client_secret %} {{ client.client_secret[:8] }}...{{ client.client_secret[-4:] }} {% else %} - {% endif %}
{% if not client.is_public %}
{% endif %}
No OAuth clients configured
Usage Example

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'
{% endblock %}