animo / openid4vc-playground

OpenID4VC Playground for issuing SD-JWT VCs
https://openid4vc.animo.id
Apache License 2.0
8 stars 7 forks source link

Unable to resolve the credential uri #14

Closed sudddy closed 8 months ago

sudddy commented 8 months ago

Hello @TimoGlastra

I have created an offer using OpenID. However, when I attempted to receive the offer through [https://openid4vc.animo.id/](OpenId4vc Animo), I received an error message as seen in the screenshots below:

Screenshot 2024-03-09 at 11 11 54 PM Screenshot 2024-03-09 at 11 12 03 PM

I am uncertain whether the agent will handle the configuration or if it needs to be done manually. Could you please clarify this for me?

sudddy commented 8 months ago

I get the below error when I try to hit the openidvc endpoint. What am I missing?

throw new core_1.CredoError('Request context not set.');

sudddy commented 8 months ago

Fixed the issues.

TimoGlastra commented 8 months ago

What was the issue?

sudddy commented 8 months ago

I forgot to register the router endpoint with the app 🤦

app.use('/oid4vci', openId4VciRouter);

When I tried to test the '/oid4vci' issuer endpoint, I realized that an issuerId is required for the process to proceed. (It's not an issue) but shall we try not to throw an Error message?

('Request context not set.');