Replies: 1 comment
-
Answering myself. I was mixing some concepts in wallekit anf ssikit. For whatever the reason I though that walletkit was the "evolution" of ssikit. After putting all pieces together I could fix the full flow using ssikit "against" walletkit. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi all,
I just finished a first read to "all" the waltid walletkit documents and reviewed the different APIs.
My intention was to create a "simple" flow where a module connects the walletkit issuer to create a new credential using the pre-authenticated flow like:
This first step looks to be working properly and it returns as result a deep-link similar to:
My doubt come next. Once I have the preauthorized code, I would like to simulate a native movile app (no embedded web) obtaining the Verifiable Credential by interacting with the issuer using the SIOP-OID4VCI protocol. My first intention was to use the existing
/api/siop/initiateIssuance
API end-point.I execute something like:
And then I receive as response an ("unexpected") redirection to a web page:
This is were I start to get lost. The localhost:8080 points to pre-installed "demo" wallet since my issuer config looks like:
If I log in the web wallet and follow the location rediction the web wallet works as expected and the browser show the option to "download" the credential.
A few questions:
Is there some end-point in the API where the native mobile wallet can continue the SIOP OIDC4VCI using the previous pre-authorized code?
I though that the
http://${WALLETKIT_ISSUER_HOST}/api/siop/initiateIssuance
was such an end-point and that a native web app would be able to directly "talk" to it, but it ends up redirecting to yet another ${web_wallet}/InitiateIssuance end-point and through some "opaque to me" dialogue, the web wallet ends up retrieving the credential from the issuer.In the issuer config file, Is it OK to use a deep-link in the configuration url for the wallet replacing a normal URL so that the (unexpected) redirection ends up again "inside" my mobile app.
Thanks in advance for your help!
Beta Was this translation helpful? Give feedback.
All reactions