eu-digital-identity-wallet / eudi-lib-jvm-openid4vci-kt

Implementation of OpenID for Verifiable Credential Issuance protocol (wallet's role) in Kotlin
Apache License 2.0
18 stars 8 forks source link

credential_identifiers property of authorization_details in a token response should be optional #198

Closed ydanneg closed 5 months ago

ydanneg commented 5 months ago

credential_identifiers property of authorization_details in a token response should be optional

https://github.com/eu-digital-identity-wallet/eudi-lib-jvm-openid4vci-kt/blob/bcf062006b19a3b22cd840ff77594b6747c31f28/src/main/kotlin/eu/europa/ec/eudi/openid4vci/internal/Serialization.kt#L137

ref: https://openid.net/specs/openid-4-verifiable-credential-issuance-1_0.html#section-6.2-4.3.2.1

ydanneg commented 5 months ago

@SerialName("credential_identifiers") val credentialIdentifiers: List<String> = listOf() should solve it

babisRoutis commented 5 months ago

@ydanneg Thank you for reporting this. Fix has been merged to main