Saltar al contenido

Registrar cliente OAuth

Registra dinámicamente un cliente OAuth y devuelve sus credenciales y metadata pública.

POST/connect/register
Sin token

Cuerpo de la solicitud

application/json

Definiciones TypeScript

Usa esta definición en TypeScript.

Cuerpo de la respuesta

application/json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

curl -X POST "https://auth.ecomiq.pe/connect/register" \  -H "Content-Type: application/json" \  -d '{    "client_name": "Mi tienda",    "redirect_uris": [      "Mi tienda"    ],    "token_endpoint_auth_method": "replace_with_the_issued_token",    "grant_types": [      "Mi tienda"    ],    "response_types": [      "Mi tienda"    ],    "application_type": "Mi tienda"  }'
{  "client_id": "app_replace_with_your_client_id",  "client_name": "Mi tienda",  "redirect_uris": [    "Mi tienda"  ],  "token_endpoint_auth_method": "replace_with_the_issued_token",  "grant_types": [    "Mi tienda"  ],  "response_types": [    "Mi tienda"  ],  "application_type": "Mi tienda"}