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

fix: canonicalize iam url #125

Merged
merged 1 commit into from
Mar 9, 2021
Merged

fix: canonicalize iam url #125

merged 1 commit into from
Mar 9, 2021

Conversation

dpopp07
Copy link
Member

@dpopp07 dpopp07 commented Mar 8, 2021

This change forces canonical use of an IAM URL. The standard operation path for a token
request is now unconditionally added at request time. If a user provides a URL that
includes the path, it will be removed.

As it turns out, there were no tests around URL behavior so I added tests that capture
it, including the behavior added in this change.

This change forces canonical use of an IAM URL. The standard operation path for a token
request is now unconditionally added at request time. If a user provides a URL that
includes the path, it will be removed.

As it turns out, there were no tests around URL behavior so I added tests that capture
it, including the behavior added in this change.
@dpopp07 dpopp07 requested a review from padamstx March 8, 2021 23:05
Copy link
Member

@padamstx padamstx left a comment

Choose a reason for hiding this comment

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

LGTM

@dpopp07 dpopp07 merged commit 7ce6588 into main Mar 9, 2021
@dpopp07 dpopp07 deleted the dp/iam-url branch March 9, 2021 16:04
ibm-devx-automation pushed a commit that referenced this pull request Mar 9, 2021
## [2.8.1](v2.8.0...v2.8.1) (2021-03-09)

### Bug Fixes

* canonicalize iam url ([#125](#125)) ([7ce6588](7ce6588))
@ibm-devx-automation
Copy link

🎉 This PR is included in version 2.8.1 🎉

The release is available on:

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.

3 participants