Sphereon-Opensource / SIOP-OID4VP

Self Issued OpenID Provider v2 (SIOP) with optional OpenID for Verifiable Presentations (OpenID4VP)
Apache License 2.0
77 stars 25 forks source link

OID4VP verify problem #65

Closed cindy-chin closed 5 months ago

cindy-chin commented 5 months ago

Hi, May I know there is a support for create authorization request on direct_post ode with the response_uri and verify it? because I cannot make it works

cindy-chin commented 5 months ago

verifyAuthorizationResponse() for this method, it asking for AuthorizationResponsePayload that need idToken, but I only have vpToken

nklomp commented 5 months ago

Hi @cindy-chin We are currently working on support for the latest version. That is the problem with ever moving specs ;)

I expect us to have something after the weekend

nklomp commented 5 months ago

verifyAuthorizationResponse() for this method, it asking for AuthorizationResponsePayload that need idToken, but I only have vpToken

Could you elaborate a bit more on this one? The AuthorizationResponsePayload itself is listing both the id_token and vp_token as optional as it should:

image

cindy-chin commented 5 months ago

Yup, thankiew, previously the function is checking if id_token is null, then it will throw some error, but i think your latest push have solve this issue.