From 7dce1fe6ccc994681f9c00ac187f82d7fbf454e2 Mon Sep 17 00:00:00 2001 From: Gerard Snaauw Date: Fri, 3 May 2024 17:19:38 +0200 Subject: [PATCH] revert --- auth/api/iam/metadata.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/auth/api/iam/metadata.go b/auth/api/iam/metadata.go index eb4b4c9b23..c7ee62819b 100644 --- a/auth/api/iam/metadata.go +++ b/auth/api/iam/metadata.go @@ -45,7 +45,7 @@ func authorizationServerMetadata(identity url.URL, oauth2BaseURL url.URL) oauth. } // clientMetadata should only be used for dids managed by the node. It assumes the provided identity URL is correct. -func clientMetadata() OAuthClientMetadata { +func clientMetadata(identity url.URL) OAuthClientMetadata { softwareID, softwareVersion, _ := strings.Cut(core.UserAgent(), "/") return oauth.OAuthClientMetadata{ TokenEndpointAuthMethod: "none", // defaults is "client_secret_basic" if not provided