-
Notifications
You must be signed in to change notification settings - Fork 37
Description
Imported from AB/Connect bitbucket: https://bitbucket.org/openid/connect/issues/1964
Original Reporter: KristinaYasuda
[updated 9/29/2023 by @Sakurann]
There are use-cases when the wallet wants to obtain only parts of the issuer metadata - to be precise, only relevant entries in the credentials_supported array. For example, when the wallet wants to obtain a credentials_supported array entry of only a specific language, or a specific identifier (issue #77).
One way to do it is for the wallet to obtain an entire Credential Issuer Metadata and search within it, but this can be error prone, or credential issuer metadata can be very big because every single credential has display properties in 50+ languages (our implementation has this requirement) or the logo for each of the localized credential is a different data uri.
It would be beneficial to have an option for the wallet to tell the credential issuer which credentials_supported entry to include when fetching the credential issuer metadata.
For the language, as has been discussed in this issue, Accept-Language header seems to be a way forward.
For the identifier (or scope, conditional to issue #77), one option would be to use query, something like https://example-issuer.com/.well-known/openid-credential-issuer?c_identifier=university_degree_computer_science.