Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Auto-discover a single tenant if not supplied with the Authentication call #30
At trystack.org initially you do not have a tenant ID/name. If you place an authentication call to Keystone without providing a tenant, you will not get the applicable endpoints. You will have to go through a number of stages to retrieve the tenant and pass this in the auth call
Replace "[INSERT_AUTH_TOKEN_HERE]" with the token ID found in the response of the previous call
Replace "[INSERT_TENANT_ID_HERE]" with the tenant ID found in the response of the previous call
In practice, there is probably only one tenant per username/password combination. If this is the case, JOSS should be able to auto-determine the tenant from the array of tenants and place the authentication again with the found tenant.