From a19834b0731aebd438944dfa69a71c13a0737130 Mon Sep 17 00:00:00 2001 From: Volodymyr Kubiv Date: Tue, 7 Nov 2023 14:19:12 +0200 Subject: [PATCH] chore: update to latest vcs. Signed-off-by: Volodymyr Kubiv --- pkg/models/issuer/metadata.go | 2 +- pkg/openid4ci/issuerinitiatedinteraction_test.go | 2 +- test/integration/fixtures/.env | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pkg/models/issuer/metadata.go b/pkg/models/issuer/metadata.go index 6dc02466..00620b58 100644 --- a/pkg/models/issuer/metadata.go +++ b/pkg/models/issuer/metadata.go @@ -15,7 +15,7 @@ import ( // Metadata represents metadata about an issuer as obtained from their .well-known OpenID configuration. type Metadata struct { CredentialIssuer string `json:"credential_issuer,omitempty"` - AuthorizationServer string `json:"authorization_server,omitempty"` + AuthorizationServer string `json:"authorization_endpoint,omitempty"` CredentialEndpoint string `json:"credential_endpoint,omitempty"` CredentialsSupported []SupportedCredential `json:"credentials_supported,omitempty"` LocalizedIssuerDisplays []LocalizedIssuerDisplay `json:"display,omitempty"` diff --git a/pkg/openid4ci/issuerinitiatedinteraction_test.go b/pkg/openid4ci/issuerinitiatedinteraction_test.go index 7939957b..190780ad 100644 --- a/pkg/openid4ci/issuerinitiatedinteraction_test.go +++ b/pkg/openid4ci/issuerinitiatedinteraction_test.go @@ -375,7 +375,7 @@ func TestIssuerInitiatedInteraction_CreateAuthorizationURL(t *testing.T) { authorizationServerURL := fmt.Sprintf("%s/auth", server.URL) issuerServerHandler.issuerMetadata = fmt.Sprintf(`{"credential_endpoint":"%s/credential", `+ - `"authorization_server":"%s"}`, + `"authorization_endpoint":"%s"}`, server.URL, authorizationServerURL) t.Run("Not using any options", func(t *testing.T) { diff --git a/test/integration/fixtures/.env b/test/integration/fixtures/.env index e0af401d..b0d76510 100644 --- a/test/integration/fixtures/.env +++ b/test/integration/fixtures/.env @@ -5,7 +5,7 @@ # VC_REST_IMAGE=ghcr.io/trustbloc-cicd/vc-server -VC_REST_IMAGE_TAG=v1.3.1-snapshot-ea964d1 +VC_REST_IMAGE_TAG=v1.5.1-snapshot-027f1bb # Remote JSON-LD context provider