question

24097844 avatar image
0 Votes"
24097844 asked sikumars answered

Does Verifiable Credential support SIOP v2?

I'm trying to issue and verify Verifiable Credential with Android App based on VerifiableCredential-SDK-Android(https://github.com/microsoft/VerifiableCredential-SDK-Android)

When the app called VerifiableCredentialSdk.presentationService.getRequest(<url from QR code>), it crashed with the following message.

Caused by: kotlinx.serialization.MissingFieldException: Field 'claims' is required, but it was missing
at com.microsoft.did.sdk.credential.service.models.oidc.PresentationRequestContent.<init>(PresentationRequestContent.kt:35)
at com.microsoft.did.sdk.credential.service.models.oidc.PresentationRequestContent$$serializer.deserialize(Unknown Source:514)
at com.microsoft.did.sdk.credential.service.models.oidc.PresentationRequestContent$$serializer.deserialize(PresentationRequestContent.kt:17)
at kotlinx.serialization.json.internal.PolymorphicKt.decodeSerializableValuePolymorphic(Polymorphic.kt:59)
at kotlinx.serialization.json.internal.StreamingJsonDecoder.decodeSerializableValue(StreamingJsonDecoder.kt:36)
at kotlinx.serialization.json.Json.decodeFromString(Json.kt:100)
...

I think the difference of SIOP versions between Android SDK and Azure AD might generate this problem.

Android SDK seems to have recently added support for SIOPv2. (https://github.com/microsoft/VerifiableCredential-SDK-Android/pull/186)

Does Verifiable Credential feature on Azure support SIOPv2?


azure-ad-openid-connectazure-ad-verifiable-credentials
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

I deployed Issuer Application on Azure App Service which code base is https://github.com/Azure-Samples/active-directory-verifiable-credentials-node

0 Votes 0 ·

1 Answer

sikumars avatar image
0 Votes"
sikumars answered

Hello @24097844 ,

Thanks for reaching out and apologies for the delay in response.

I just confirmed with the engineering team that this is supported scenario. Therefore, I would request you to use later version of the SDK it seems missing a header it needs to pass or something with older version of SDK.

Please find following fix for your reference : https://github.com/microsoft/VerifiableCredential-SDK-Android/pull/190.

If none of this works, I request you to file a support ticket. In case if you don't have support plan then please send an email with the subject line “Attn: SivaKumarS” to AzCommunity[at]Microsoft[dot]com referencing this thread and your subscription id so that we will help you get a one-time free technical support.

Hope this helps.


Please "Accept the answer" if the information helped you. This will help us and others in the community as well.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.