eu-digital-identity-wallet / eudi-lib-ios-openid4vci-swift

Implementation of OpenID for Verifiable Credential Issuance protocol (wallet's role) in Swift
Apache License 2.0
6 stars 7 forks source link

Parameter `resource` is missing from authorization request when Credential Issuer metadata contains an authorization_servers property #57

Closed srosenda closed 1 month ago

srosenda commented 1 month ago

The OpenID4VCI specification RECOMMENDs that resource parameter is added to authorization request when "Credential Issuer metadata contains an authorization_servers property":

If the Credential Issuer metadata contains an authorization_servers property, it is RECOMMENDED to use a resource parameter [RFC8707] whose value is the Credential Issuer's identifier value to allow the Authorization Server to differentiate Credential Issuers. See https://openid.net/specs/openid-4-verifiable-credential-issuance-1_0.html#section-5.1.2-9.

Fix in PR #56.