TalaoDAO / AltMe

Talao / Altme wallet : Open source Self Sovereign Identity wallet. Multi ecosystem support : EBSI conformant. ARF EUDI wallet implementation, DIIP and more.
https://talao.io
Apache License 2.0
48 stars 14 forks source link

Add OIDC4VC switch : support of credential manifest #2165

Closed ThierryThevenet closed 11 months ago

ThierryThevenet commented 11 months ago

add a new switch in the OIDC4VC advanced setting.

in the oidc4vc advanced setting screens add :

Credential Manifest Support Default: on Use DIF Wallet Rendering syntax instead of the "display" attribute.

By default it "on" (Custom profile) EBSI and DUTCH are "off" as they only use the display attribiue of the openid-configuration.credential_supported

This switch is the parameter credentialManifestSupport available in the config file for profil downloaded from portal.


 "customOidc4vcProfile": {
            "securityLevel": "low",
            "credentialManifestSupport": true,
ThierryThevenet commented 11 months ago

example of a display attribute of one VC in the openid-config file.credential_supported

wallet must support

"name", "description", "background_color", "text_color"

see below example.


 "display": [
        {
          "name": "Conference Attendee",
          "description": "The DBC Conference Attendee credential is given to all visitors of the DBC conference.",
          "background_color": "#3B6F6D",
          "text_color": "#FFFFFF",
          "logo": {
            "url": "https://dutchblockchaincoalition.org/assets/images/icons/Logo-DBC.png",
            "alt_text": "An orange block shape, with the text Dutch Blockchain Coalition next to it, portraying the logo of the Dutch Blockchain Coalition."
          },
          "background_image": {
            "url": "https://i.ibb.co/CHqjxrJ/dbc-card-hig-res.png",
            "alt_text": "Connected open cubes in blue with one orange cube as a background of the card"
          }
        },
        {
          "locale": "en-US",
          "name": "Conference Attendee",
          "description": "The DBC Conference Attendee credential is given to all visitors of the DBC conference.",
          "background_color": "#3B6F6D",
          "text_color": "#FFFFFF",
          "logo": {
            "url": "https://dutchblockchaincoalition.org/assets/images/icons/Logo-DBC.png",
            "alt_text": "An orange block shape, with the text Dutch Blockchain Coalition next to it, portraying the logo of the Dutch Blockchain Coalition."
          },
          "background_image": {
            "url": "https://i.ibb.co/CHqjxrJ/dbc-card-hig-res.png",
            "alt_text": "Connected open cubes in blue with one orange cube as a background of the card"
          }
        },