Bitbucket OAuth returns “Could not verify OAuth request.”

两盒软妹~` 提交于 2019-12-07 19:49:24

问题


I'm attempting to use bitbucket's API through Python with rauth. My get_request_token call fails with the error: Key Error: 'Decoder failed to handle oauth_token with data as returned by provider. A different decoder may be needed. Provider returned: Could not verify OAuth request.'

I wrote and tested this code a year ago and it worked then (on the same server, in fact). What is wrong now?


回答1:


My server's clock was not within five minutes of bitbucket's.

The answer was here: https://confluence.atlassian.com/display/BITBUCKET/Troubleshooting+OAuth+Requests

Installing ntp solved this for me (on ubuntu, sudo apt-get install ntp).



来源:https://stackoverflow.com/questions/24835265/bitbucket-oauth-returns-could-not-verify-oauth-request

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!