Skip to content

Commit 6dc0b14

Browse files
committed
Send the client name during DCR
The Jam server needs this, it returns an error otherwise. Signed-off-by: Djordje Lukic <djordje.lukic@docker.com>
1 parent 6128712 commit 6dc0b14

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

pkg/tools/mcp/oauth.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -271,6 +271,7 @@ func registerClient(ctx context.Context, authMetadata *authorizationServerMetada
271271

272272
reqBody := map[string]any{
273273
"redirect_uris": []string{redirectURI},
274+
"client_name": "cagent",
274275
"grant_types": []string{"authorization_code"},
275276
"response_types": []string{
276277
"code",

0 commit comments

Comments
 (0)