yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #52419
[Bug 1593120] [NEW] Unable to get OAuth request token
Public bug reported:
I am using keystone(Liberty), trying to use OAuth functionality inside
keystone.
References:
https://specs.openstack.org/openstack/keystone-specs/api/v3/identity-
api-v3-os-oauth1-ext.html
I am following the above link for reference to use OAuth
Able to create consumer, while creating request_token i am getting
invalid signature error.(unauthorized)
== > /usr/lib/python2.7/site-
packages/keystoneclient/v3/contrib/oauth1/request_tokens.py
After the Oauth sign, i got the header,endpoint as below,
headers:
{u'Authorization': u'OAuth oauth_nonce="16761963350708363801466058910",
oauth_timestamp="1466058910", oauth_version="1.0",
oauth_signature_method="HMAC-SHA1",
oauth_consumer_key="7fc8945e648248e9a5694bee3a141ac0",
oauth_callback="oob",
oauth_signature="i4UDLi75qcTKu%2FClW7KNtIl1SI4%3D"', u'requested-
project-id': u'7908bbde268348a9991ecdfa76fda577'}
endpoint:
'/OS-OAUTH1/request_token'
Error:
keystoneclient.exceptions.Unauthorized: Invalid signature (Disable debug
mode to suppress these details.) (HTTP 401)
** Affects: keystone
Importance: Undecided
Status: New
** Tags: federation keystone oauth
** Attachment added: "python for getting request_token"
https://bugs.launchpad.net/bugs/1593120/+attachment/4684752/+files/oauth-1.py
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Identity (keystone).
https://bugs.launchpad.net/bugs/1593120
Title:
Unable to get OAuth request token
Status in OpenStack Identity (keystone):
New
Bug description:
I am using keystone(Liberty), trying to use OAuth functionality inside
keystone.
References:
https://specs.openstack.org/openstack/keystone-specs/api/v3/identity-
api-v3-os-oauth1-ext.html
I am following the above link for reference to use OAuth
Able to create consumer, while creating request_token i am getting
invalid signature error.(unauthorized)
== > /usr/lib/python2.7/site-
packages/keystoneclient/v3/contrib/oauth1/request_tokens.py
After the Oauth sign, i got the header,endpoint as below,
headers:
{u'Authorization': u'OAuth
oauth_nonce="16761963350708363801466058910",
oauth_timestamp="1466058910", oauth_version="1.0",
oauth_signature_method="HMAC-SHA1",
oauth_consumer_key="7fc8945e648248e9a5694bee3a141ac0",
oauth_callback="oob",
oauth_signature="i4UDLi75qcTKu%2FClW7KNtIl1SI4%3D"', u'requested-
project-id': u'7908bbde268348a9991ecdfa76fda577'}
endpoint:
'/OS-OAUTH1/request_token'
Error:
keystoneclient.exceptions.Unauthorized: Invalid signature (Disable
debug mode to suppress these details.) (HTTP 401)
To manage notifications about this bug go to:
https://bugs.launchpad.net/keystone/+bug/1593120/+subscriptions
Follow ups