commit 4360a128c4a6715b32ca1470bd3f4be23cd5e80f
parent 84b1814c473355b0bdedf938e2e2e9683c17e129
Author: Henrique Chan Carvalho Machado <henriqueccmachado@tecnico.ulisboa.pt>
Date: Tue, 9 Dec 2025 12:43:44 +0100
oauth2_gateway: fix openapi spec example values, fix redirect uri description
Diffstat:
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/oauth2_gateway/openapi.yaml b/oauth2_gateway/openapi.yaml
@@ -40,7 +40,7 @@ components:
type: string
description: |
The nonce to be used to construct the /authorize URL.
- example: '7f3e9d2a8b1c4f6e5a9d8c7b3e2f1a4d'
+ example: '7f3e9d2AXb1c4f6e_5a9d8c7AISFe1A_a4d'
AuthorizeResponse:
type: object
@@ -72,7 +72,7 @@ components:
type: string
description: |
The state parameter echoed back from the authorize request for CSRF protection.
- example: 'payto://iban/CH9300762011623852957'
+ example: 'AZS7EDH2VD10GSGG8C1SHNE375DYQKHYJAQK8VJ1117WG'
NotificationRequest:
type: object
@@ -217,8 +217,8 @@ paths:
type: string
format: uri
required: true
- description: The client redirect URI where the authorization code will be sent.
- example: 'https://client.example.com/kyc-proof/oauth2'
+ description: The client redirect URI where the user will be redirected to after verification.
+ example: 'https://client.example.com/kyc/thank-you'
- in: query
name: state
schema: