yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #09628
[Bug 1279496] [NEW] Invalid links section for get access token
Public bug reported:
Currently, when getting a single access token:
{
u'access_token': {
u'authorizing_user_id': u'53965ee69aa145128a1e91f424745cfe',
u'links': {
u'self': u'http: //localhost: 5000/v3/access_tokens/aecec537d2634285a506299cc49a9b32',
u'roles': u'http: //localhost: 5000/v3/users/53965ee69aa145128a1e91f424745cfe/OS-OAUTH1/access_tokens/aecec537d2634285a506299cc49a9b32/roles'
},
u'expires_at': u'2014-02-13T20: 05: 53.011663Z',
u'consumer_id': u'63e7c900ff4047148bf748999602de33',
u'project_id': u'777527ead8084667890a362512c9a2d1',
u'id': u'aecec537d2634285a506299cc49a9b32'
}
}
Note that the self portion should have: /users/$user_id/OS-OAUTH1
The link for a listing seems to be fine:
{
u'access_tokens': [
{
u'authorizing_user_id': u'c5acd8824d804550a55da5ca3a33dfee',
u'links': {
u'self': u'http: //localhost: 5000/v3/access_tokens/5d0084cd834c4ccba51a2349448f9dc7',
u'roles': u'http: //localhost: 5000/v3/users/c5acd8824d804550a55da5ca3a33dfee/OS-OAUTH1/access_tokens/5d0084cd834c4ccba51a2349448f9dc7/roles'
},
u'expires_at': u'2014-02-13T20: 07: 44.097317Z',
u'consumer_id': u'c57ea70185a240b8bb09b993e9c5d07c',
u'project_id': u'e75b5f3d9ca8432c9527609d7aea7e01',
u'id': u'5d0084cd834c4ccba51a2349448f9dc7'
}
],
u'links': {
u'self': u'http: //localhost: 5000/v3/users/c5acd8824d804550a55da5ca3a33dfee/OS-OAUTH1/access_tokens',
u'next': None,
u'previous': None
}
}
** Affects: keystone
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Keystone.
https://bugs.launchpad.net/bugs/1279496
Title:
Invalid links section for get access token
Status in OpenStack Identity (Keystone):
New
Bug description:
Currently, when getting a single access token:
{
u'access_token': {
u'authorizing_user_id': u'53965ee69aa145128a1e91f424745cfe',
u'links': {
u'self': u'http: //localhost: 5000/v3/access_tokens/aecec537d2634285a506299cc49a9b32',
u'roles': u'http: //localhost: 5000/v3/users/53965ee69aa145128a1e91f424745cfe/OS-OAUTH1/access_tokens/aecec537d2634285a506299cc49a9b32/roles'
},
u'expires_at': u'2014-02-13T20: 05: 53.011663Z',
u'consumer_id': u'63e7c900ff4047148bf748999602de33',
u'project_id': u'777527ead8084667890a362512c9a2d1',
u'id': u'aecec537d2634285a506299cc49a9b32'
}
}
Note that the self portion should have: /users/$user_id/OS-OAUTH1
The link for a listing seems to be fine:
{
u'access_tokens': [
{
u'authorizing_user_id': u'c5acd8824d804550a55da5ca3a33dfee',
u'links': {
u'self': u'http: //localhost: 5000/v3/access_tokens/5d0084cd834c4ccba51a2349448f9dc7',
u'roles': u'http: //localhost: 5000/v3/users/c5acd8824d804550a55da5ca3a33dfee/OS-OAUTH1/access_tokens/5d0084cd834c4ccba51a2349448f9dc7/roles'
},
u'expires_at': u'2014-02-13T20: 07: 44.097317Z',
u'consumer_id': u'c57ea70185a240b8bb09b993e9c5d07c',
u'project_id': u'e75b5f3d9ca8432c9527609d7aea7e01',
u'id': u'5d0084cd834c4ccba51a2349448f9dc7'
}
],
u'links': {
u'self': u'http: //localhost: 5000/v3/users/c5acd8824d804550a55da5ca3a33dfee/OS-OAUTH1/access_tokens',
u'next': None,
u'previous': None
}
}
To manage notifications about this bug go to:
https://bugs.launchpad.net/keystone/+bug/1279496/+subscriptions
Follow ups
References