botium-core
botium-core copied to clipboard
Cannot connect Botium to an SOE which acts as Watson Assistant proxy
Describe the bug
The WA botium connector is not working with a classic SOE
A customer uses an SOE that proxies their Watson Assistant v1 instance and it expects to be called with Basic authentication.
(Authorization: Basic base_64_encoded_apikey_colon_actualapikey
)
The SOE application wants to manage the IAM token relationship on its own, not have Botium manage it.
This seems like it should be possible in Botium if a different authenticator is used. The SOE itself is difficult to update.
I've been unable to test but will submit what code I expect could work.
To Reproduce Configure WA botium connect without using the apikey. .env file should have BOTIUM_WATSON_USER and BOTIUM_WATSON_PASSWORD.
Expected behavior Botium should connect to the SOE which proxies Watson Assistant, configured only with BOTIUM_WATSON_USER=apikey and BOTIUM_WATSON_PASSWORD=the_actual_api_key
Screenshots and Log files
Botium Flavour:
- Botium Core
Botium Version
- Latest
Additional context Possible solution (untested): https://github.com/codeforequity-at/botium-connector-watson/pull/28
Right, this is a thing that wasn't considered in the Botium connector yet.