IBM / cloudant-node-sdk

Cloudant SDK for Node.js

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Update IAM url in Cloudant base service test

emlaver opened this issue · comments

The suffix of the IAM url is now hard-coded in the node-sdk-core. If a user passes in a custom IAM URL, the hard-coded operation suffix path is appended to the IAM root URL when requesting an IAM token.

Our Use basic authenticator test will fail because the token manager URL will only contain the root IAM url.
We can update our IAM variable and that should fix it. There’s currently no way to assert on the suffix option path ('/identity/token') as that is hard-coded and cannot be modified.