Skip to content

Conversation

padamstx
Copy link
Contributor

This commit updates our various request-based authenticators so that the User-Agent header is included with each outbound token request. The value of the User-Agent header will be of the form "ibm-go-sdk-core/- ".

This commit updates our various request-based authenticators
so that the User-Agent header is included with each outbound
token request. The value of the User-Agent header will be
of the form "ibm-go-sdk-core/<authenticator-type>-<core-version> <os-info>".

Signed-off-by: Phil Adams <phil_adams@us.ibm.com>
@padamstx padamstx self-assigned this Apr 12, 2024
@padamstx padamstx requested review from dpopp07 and pyrooka April 12, 2024 19:08
Copy link
Member

@pyrooka pyrooka left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

Copy link
Contributor

@dpopp07 dpopp07 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! 👍

@padamstx padamstx merged commit 90f0ba5 into main Apr 17, 2024
@padamstx padamstx deleted the auth-user-agent branch April 17, 2024 19:39
ibm-devx-sdk pushed a commit that referenced this pull request Apr 17, 2024
# [5.17.0](v5.16.5...v5.17.0) (2024-04-17)

### Features

* send user-agent header with auth token requests ([#216](#216)) ([90f0ba5](90f0ba5))
@ibm-devx-sdk
Copy link

🎉 This PR is included in version 5.17.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants