Comment 2 for bug 1212778

Revision history for this message
Steven Hardy (shardy) wrote : Re: Authenticating with trust ID fails with 500 error

Working around with username/password doesn't seem to work either:

REQ: curl -i -X POST http://192.168.122.156:5000/v3/auth/tokens -H "User-Agent: python-keystoneclient" -H "Content-Type: application/json" -H "X-Auth-Token: <ADMIN TOKEN>
REQ BODY: {"auth": {"identity": {"methods": ["password"], "password": {"user": {"id": "794943ea9a57400eb0f708a524d7999f", "password": "foobar"}}, "token": {"id": "<ADMIN TOKEN>"}}, "scope": {"OS-TRUST:trust": {"id": "4d08659bbc054ea49b4464dac05c651e"}}}}

Also fails, always returns "Authorization failed. The request you have made requires authentication."

Does this mean that "methods": ["password"] is invalid for getting a token scoped to a trust?