Skip to content

Commit

Permalink
fix(auth): remove content-type header from idms get requests (#9508)
Browse files Browse the repository at this point in the history
  • Loading branch information
peter-volkov committed Mar 12, 2024
1 parent 7c910c8 commit 8589f41
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion auth/detect/internal/externalaccount/aws_provider.go
Expand Up @@ -279,7 +279,6 @@ func (cs *awsSubjectProvider) getMetadataSecurityCredentials(ctx context.Context
if err != nil {
return result, err
}
req.Header.Set("Content-Type", "application/json")
for name, value := range headers {
req.Header.Add(name, value)
}
Expand Down

0 comments on commit 8589f41

Please sign in to comment.