From fe54d9a71c556b35f08a062e46a8024c4b7aa197 Mon Sep 17 00:00:00 2001 From: Wout Slakhorst Date: Tue, 19 Sep 2023 15:58:25 +0200 Subject: [PATCH] PR feedback --- auth/api/iam/api.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/auth/api/iam/api.go b/auth/api/iam/api.go index ced86e431c..f2ad0a5e7b 100644 --- a/auth/api/iam/api.go +++ b/auth/api/iam/api.go @@ -216,7 +216,7 @@ func (r Wrapper) GetOAuthAuthorizationServerMetadata(ctx context.Context, reques return nil, core.NotFoundError("authz server metadata: did not owned") } - identity := r.auth.PublicURL().JoinPath(ownDID.WithoutURL().String()) + identity := r.auth.PublicURL().JoinPath("iam", request.Id) return GetOAuthAuthorizationServerMetadata200JSONResponse(authorizationServerMetadata(*identity)), nil }