kych

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

commit cad695fbc4e542010abae60650a286be82a82809
parent 6193344eebe378e5203de89387d5d73b1f52e2d1
Author: Henrique Chan Carvalho Machado <henriqueccmachado@tecnico.ulisboa.pt>
Date:   Tue,  4 Nov 2025 22:02:46 +0100

documentation: add GET for verification status after verifier webhook

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

diff --git a/documentation/swiyu_taler_sequence_diagram.txt b/documentation/swiyu_taler_sequence_diagram.txt @@ -29,10 +29,12 @@ SwiyuVerifier->SwiyuWallet: OID4VP Request Object (DCQL query) SwiyuWallet->SwiyuWallet: Grant Permission SwiyuWallet->SwiyuVerifier: POST /oid4vp/api/request-object/{request_id}/response-data (VP Token) -note over Oauth2Gateway,Exchange: Oauth2Gateway notifies Exchange asynchronously via webhook -SwiyuVerifier->Oauth2Gateway: Webhook (verification complete) [POST /notification/{request_id}/ -Oauth2Gateway->Browser: Notify success -Oauth2Gateway->Exchange: POST /oauth2gw/kyc/notify/$CLIENT_ID +note over Oauth2Gateway,Exchange: Oauth2Gateway receives webhook and checks verification status +SwiyuVerifier->Oauth2Gateway: POST /notification {verification_id, timestamp} +Oauth2Gateway->SwiyuVerifier: GET /management/api/verifications/{verification_id} +SwiyuVerifier->Oauth2Gateway: {state: SUCCESS/FAILED/PENDING, wallet_response} +Oauth2Gateway->Browser: Notify verification result +Oauth2Gateway->Exchange: POST /oauth2gw/kyc/notify/$CLIENT_ID {status} note over Exchange,Oauth2Gateway: Exchange retrieves the final proof (Verifiable Credential) Exchange->Oauth2Gateway: POST /token