Comment 5 for bug 1592988

Revision history for this message
Matthew Edmonds (edmondsw) wrote :

we addressed a similar issue by changing OSC to avoid a list operation when it could map the name to an id based on the information in the auth token. A project-scoped token's data includes both the name and id of the project's parent domain, and a domain-scoped token's data includes both the name and id of that domain. If that name is my_domain, to match this example, then you can pull the corresponding id from the token data and don't need to make a list domains call. You would still need to make a list domains call if you are not currently authenticated to a project in my_domain (or to my_domain directly), but in most cases that's probably not an issue.

See https://review.openstack.org/#/c/311206/