kych

OAuth 2.0 API for Swiyu to enable Taler integration of Swiyu for KYC (experimental)
Log | Files | Refs

commit 187eca3e5cf68dabf4beaf5760e19b19a2b64db2
parent 4dfc9b83812ba2054662c7174416e8a9ed4fc25b
Author: Henrique Chan Carvalho Machado <henriqueccmachado@tecnico.ulisboa.pt>
Date:   Tue, 14 Oct 2025 17:32:56 +0200

fix sequence diagram: verifier variable names, clientID used in notify webhook

Diffstat:
Mdocumentation/swiyu_taler_sequence_diagram.txt | 9+++++----
1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/documentation/swiyu_taler_sequence_diagram.txt b/documentation/swiyu_taler_sequence_diagram.txt @@ -1,5 +1,6 @@ title [Tentative] Swiyu-Taler Interaction +entryspacing 1.2 participantgroup Taler User participant Browser participant TalerWallet @@ -17,17 +18,17 @@ note over Exchange,Oauth2Gateway: Exchange initiates KYC verification process Exchange->Oauth2Gateway: POST /setup/$CLIENT_ID; Oauth2Gateway->Exchange: $NONCE Exchange->Browser: open /authorize endpoint -Browser->Oauth2Gateway: GET /authorize/$NONCE?... +Browser->Oauth2Gateway: GET /authorize/$NONCE... Oauth2Gateway->SwiyuVerifier: POST /management/api/verifications -SwiyuVerifier->Oauth2Gateway: Send verification_url -Oauth2Gateway->Browser: Open verification_url QR code and verificationId (in response body) +SwiyuVerifier->Oauth2Gateway: $VERIFICATION_URL, $REQUEST_ID +Oauth2Gateway->Browser: Open $VERIFICATION_URL QR code Browser->SwiyuWallet: Open QR code SwiyuWallet->SwiyuVerifier: GET /oid4vp/api/request-object/{request_id} SwiyuWallet->SwiyuVerifier: POST /oid4vp/api/request-object/{request_id}/response-data note over Oauth2Gateway,Exchange: Oauth2Gateway notifies Exchange asynchronously via webhook SwiyuVerifier->Oauth2Gateway: Webhook (verification complete) [POST /notification/{request_id}/ -Oauth2Gateway->Exchange: POST /oauth2gw/kyc/notify (verificationId) +Oauth2Gateway->Exchange: POST /oauth2gw/kyc/notify/$CLIENT_ID note over Exchange,Oauth2Gateway: Exchange retrieves the final proof (Verifiable Credential) Exchange->Oauth2Gateway: POST /token