[api-ref]scope token request missing domain in project
Bug #1681996 reported by
guoshan
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Identity (keystone) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
In POST /v3/auth/tokens
Password authentication with scoped authorization, request example missing the domain in the project. If sent request with the given content, it will response with 400 error, "message": "Expecting to find domain in project.
To post a comment you must log in.
Can you provide an example of the request you're making (with sensitive information scrubbed)? If you're referencing the project by its name attribute in the scope attribute, you must supply a domain with it since project names are only guaranteed to be unique within a domain. In order for keystone to properly locate the project by name, it needs the domain of the project. Project IDs on the other hand are guaranteed to be unique across a deployment and can be reference within the scope attribute without a domain reference.