Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: send user-agent header with auth token requests #222

Merged
merged 1 commit into from
Apr 17, 2024

Conversation

padamstx
Copy link
Member

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-java-sdk-core/- ".

@padamstx padamstx self-assigned this Apr 13, 2024
@CLAassistant
Copy link

CLAassistant commented Apr 13, 2024

CLA assistant check
All committers have signed the CLA.

@padamstx padamstx requested review from dpopp07 and pyrooka April 13, 2024 15:25
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
Member

@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! I noticed the copyright string was updated in some files but not others - I left a comment on each so you don't have to re-track them down 🙂

@padamstx
Copy link
Member Author

Looks good! I noticed the copyright string was updated in some files but not others - I left a comment on each so you don't have to re-track them down 🙂

@pyrooka You are slipping, my friend. I would have expected this to not make it through the Norbert pre-processor 😂

Verified

This commit was signed with the committer’s verified signature.
FabianLars Fabian-Lars
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-java-sdk-core/<authenticator-type>-<core-version> <os-info>".

Signed-off-by: Phil Adams <phil_adams@us.ibm.com>
@padamstx padamstx merged commit 26824f9 into main Apr 17, 2024
4 checks passed
@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
# [9.21.0](9.20.1...9.21.0) (2024-04-17)

### Features

* send user-agent header with auth token requests ([#222](#222)) ([26824f9](26824f9))
@ibm-devx-sdk
Copy link
Contributor

🎉 This PR is included in version 9.21.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.

None yet

5 participants