-
Notifications
You must be signed in to change notification settings - Fork 211
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Troubles with Twitter oauth #36
Comments
Two actions can help: |
Yes
|
I also have the same problem. After I authd successfully. If I try again, it then fails. Must you clear the session before a new login? And why? |
I was having similar issue, found explicitly clearing out the oauth tokens in the session between authentication requests solved my issue. Did not find similar issue in facebook, which is why it was slightly confusing. |
Throws flaskext.oauth.OAuthException with following twitter responce:
{'status': '401', 'content-length': '565', 'x-transaction': '211c21269388bd25', 'set-cookie': 'k=10.35.2.124.1344885309124184; path=/; expires=Mon, 20-Aug-12 19:15:09 GMT; domain=.twitter.com, guest_id=v1%3A134488530913929470; domain=.twitter.com; path=/; expires=Thu, 14-Aug-2014 07:15:09 GMT, _twitter_sess=BAh7CDoPY3JlYXRlZF9hdGwrCNQ%252BaSE5AToHaWQiJTFhOGExZTk3ZTVkZjhi%250AYTRiMTlmMzJmODk1NDg1YjhhIgpmbGFzaElDOidBY3Rpb25Db250cm9sbGVy%250AOjpGbGFzaDo6Rmxhc2hIYXNoewAGOgpAdXNlZHsA--65ae75aa65a2f5b2787aca378c468ee8dd237619; domain=.twitter.com; path=/; HttpOnly', 'expires': 'Tue, 31 Mar 1981 05:00:00 GMT', 'x-mid': '5e909ac08c5baed8ed51d8f16b1664f6a4b327b1', 'server': 'tfe', 'last-modified': 'Mon, 13 Aug 2012 19:15:09 GMT', '-content-encoding': 'gzip', 'pragma': 'no-cache', 'cache-control': 'no-cache, no-store, must-revalidate, pre-check=0, post-check=0', 'date': 'Mon, 13 Aug 2012 19:15:09 GMT', 'x-frame-options': 'SAMEORIGIN', 'content-type': 'text/html; charset=utf-8', 'www-authenticate': 'OAuth realm="https://api.twitter.com"', 'vary': 'Accept-Encoding'}
The access_token method must be called with a request_token
/oauth/access_token?oauth_body_hash=2jmj7l5rSw0yVb%2FvlWAYkK%2FYBwk%3D&oauth_nonce=43034051&oauth_timestamp=1344885309&oauth_verifier=RkDAfXiGWYYerIVpd1Aer5EorCfKG8ibYT0q69XME&oauth_consumer_key=HTeijARUpbSR7pXaVmGULA&oauth_signature_method=HMAC-SHA1&oauth_version=1.0&oauth_token=33175438-XRgolk9jzdkthoXkHjCJmtbtaA4o02TRdEHZaHMLG&oauth_signature=Bf6ekP5Bmg5tC%2BHUVicLKKdLZbQ%3D
The text was updated successfully, but these errors were encountered: