Tenant is considered supplied if tenantName or tenantId are an empty String. #104
Using the following config;
I noticed that I was unable to authenticate, instead I got the following;
Not setting the tenantName or tenantId seemed to resolve the issue. Looking at KeystoneAuthenticationCommandImpl, I noticed that it's checking if tenantName and tenantId are not null but does not consider if the strings are empty;
To work around this I just avoided setting the tenantName or tenantId if I found that they were null or empty.
Apologies if this is covering a use case that has already been considered!
The text was updated successfully, but these errors were encountered:
Check if tenantName and tenantId are empty as well as null to avoid setting tenantSupplied incorrectly. Added unit tests to validate the change.