diff --git a/pkg/profile/api.go b/pkg/profile/api.go index 769669fee..5e5dcbb6a 100644 --- a/pkg/profile/api.go +++ b/pkg/profile/api.go @@ -109,6 +109,7 @@ type Verifier struct { Version Version `json:"version,omitempty"` Name string `json:"name,omitempty"` URL string `json:"url,omitempty"` + LogoURL string `json:"logoURL,omitempty"` Active bool `json:"active,omitempty"` OrganizationID string `json:"organizationID,omitempty"` Checks *VerificationChecks `json:"checks,omitempty"` diff --git a/pkg/service/oidc4vp/oidc4vp_service.go b/pkg/service/oidc4vp/oidc4vp_service.go index bb9f27d75..e71fc48f2 100644 --- a/pkg/service/oidc4vp/oidc4vp_service.go +++ b/pkg/service/oidc4vp/oidc4vp_service.go @@ -142,6 +142,7 @@ type RequestObjectRegistration struct { SubjectSyntaxTypesSupported []string `json:"subject_syntax_types_supported"` VPFormats *presexch.Format `json:"vp_formats"` ClientPurpose string `json:"client_purpose"` + LogoURI string `json:"logo_uri"` } type eventPayload struct { @@ -651,6 +652,7 @@ func (s *Service) createRequestObject( SubjectSyntaxTypesSupported: []string{"did:ion"}, VPFormats: vpFormats, ClientPurpose: purpose, + LogoURI: profile.LogoURL, }, Claims: RequestObjectClaims{VPToken: VPToken{ presentationDefinition, diff --git a/test/bdd/fixtures/profile/profiles.json b/test/bdd/fixtures/profile/profiles.json index bd40ab393..8abc2e00c 100644 --- a/test/bdd/fixtures/profile/profiles.json +++ b/test/bdd/fixtures/profile/profiles.json @@ -1473,6 +1473,7 @@ "name": "v_myprofile_multivp_jwt", "organizationID": "f13d1va9lp403pb9lyj89vk55", "url": "https://test-verifier.com", + "logoURL": "https://test-verifier.com/logo.png", "active": true, "webHook": "http://vcs.webhook.example.com:8180", "checks": {