yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #02182
[Bug 1171655] Re: belongsTo not working as intended
agree #5, will track the doc change in another bug
** Changed in: keystone
Status: New => Invalid
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Keystone.
https://bugs.launchpad.net/bugs/1171655
Title:
belongsTo not working as intended
Status in OpenStack Identity (Keystone):
Invalid
Bug description:
This looks like a bug to me. When I query a token against the
keystone, it tells me that user is "admin":
curl -s -H "X-Auth-Token: hjrH_doaJjso2rMD0pPA"
http://192.168.2.102:35357/v2.0/tokens/ff8f003f23cf459e8271677ec5cc0194
| python -m json.tool
==>
: "user": {
"id": "dc208e67bcc3433d9d4b1a1a26fb5eff",
"name": "admin",
"roles": [
:
But now, when I perform validation using "belongsTo", it tells me
"unauthorized"
curl -s -H "X-Auth-Token: hjrH_doaJjso2rMD0pPA"
http://192.168.2.102:35357/v2.0/tokens/ff8f003f23cf459e8271677ec5cc0194?belongsTo=admin
==>
{
"error": {
"code": 401,
"message": "The request you have made requires authentication.",
"title": "Not Authorized"
}
}
To manage notifications about this bug go to:
https://bugs.launchpad.net/keystone/+bug/1171655/+subscriptions