flask-oauth
flask-oauth copied to clipboard
OAuth Support for Flask
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=/;...
I'm not sure if google's implementation is non-standard, but I've found that to get the access_token I need to use a "POST" instead of a command. However simply setting access_token_method...
I had to the line linked to bellow oauth.py to get it working with google. Without it I receive an error indicating that I am missing a required token. https://github.com/FreakTheMighty/flask-oauth/commit/b4183b729342c98caa4abb3191d61f4bec0e6e1c
Traceback (most recent call last): File "~/env/lib/python2.7/site-packages/flask/app.py", line 889, in **call** return self.wsgi_app(environ, start_response) File "~/env/lib/python2.7/site-packages/flask/app.py", line 879, in wsgi_app response = self.make_response(self.handle_exception(e)) File "~/env/lib/python2.7/site-packages/flask/app.py", line 876, in wsgi_app rv...
Currently, flask-oauth is letting oauth2 do whatever it likes with regards to signature method. That means, it's mostly using `HMAC_SHA1`. However, some oauth servers will only accept `PLAINTEXT` as the...