IBM / go-sdk-core

The go-sdk-core repository contains core functionality required by Go code generated by the IBM OpenAPI SDK Generator.
Apache License 2.0
30 stars 24 forks source link

fix(IAM Authenticator): canonicalize iam url & improve iam error reporting #97

Closed padamstx closed 3 years ago

padamstx commented 3 years ago

This commit includes two changes:

  1. The IAM Authenticator is now more flexible with respect to the configured IAM url specified by the user. The path part ("/identity/token") is now optional.
  2. For errors returned by the IAM token server, if the response received from the token server does not contain an error message, then a default error message containing the unexpected status code will be returned rather than an empty string.
ibm-devx-automation commented 3 years ago

:tada: This PR is included in version 5.0.3 :tada:

The release is available on GitHub release

Your semantic-release bot :package::rocket: