Zurück

POST /oauth/register

Route source: app/oauth/register/route.ts. Access: Public OAuth protocol endpoint; client and PKCE values are validated. Status codes are read from the route implementation.

POST/oauth/register

Zugang

Public protocol route

Anfrage

JSON-Body gemäß Validierung im Route-Code

The accepted fields and validation are implemented in app/oauth/register/route.ts; parsed by JSON.

Synthetisches curl-Beispiel
curl -i -X POST 'https://portal.rfi-irfos.com/oauth/register' \
  -H 'Content-Type: application/json' \
  --data '{"client_name":"Synthetic agent","redirect_uris":["http://127.0.0.1:43123/callback"],"grant_types":["authorization_code"],"response_types":["code"],"token_endpoint_auth_method":"none"}'

Antwort

Der Handler liefert JSON. Die Antwortfelder sind im verlinkten Routencode definiert.

200 201 400 429 503

Die referenzierte Quelldatei enthält die maßgebliche Feldvalidierung und Antwortstruktur.

Fehlercodes

  • 400 · Anfrage oder Eingabevalidierung fehlgeschlagen
  • 429 · Anfragelimit erreicht
  • 503 · Dienst oder Datenbank ist nicht verfügbar

Beleg im Code

app/oauth/register/route

Lokaler Index↑ ↓ · Enter · Esc