Closed vinu2003 closed 6 years ago
wallyworld: I have the required test without TenantName and TenantId in the v3userpass_test.go Could u please let me know after taking a look at it. I will wait for ur input. thank u
hi @wallyworld, I agree with your point.However, the Auth() returns AuthDetails which get filled in from v3KeyStoneAuth(). The AuthDetails doesnt have ProjectDomainName. The Logic i have added checks if TenanID or TenantName either of these are set then set ProjectDomainName. If TenantId/Name not there even if credentials has ProjectDomainName it wont be set in auth. Inorder to make things visible i added the ProjectDomain Name in AuthDetails struct and validated it. Kindly let me know your inputs.
This PR has code changes that fix the error messages returned from goose library related to authentication and also the fix for scope/Project name being added to auth credentials without checking the tenantId or TenantName.