heroku / heroku-airflow

Demo of Author data workflows with Airflow on Heroku (not maintained)
Other
23 stars 6 forks source link

OAuth borked #6

Open juddblair opened 8 years ago

juddblair commented 8 years ago

So, I set up an Oauth client on Google, got a client_id and secret_id and set those as config params. So far so good, the google login screen pops up, I select a login and...internal server error:

KeyError: 'Decoder failed to handle access_token with data as returned by provider. A different decoder may be needed. Provider returned: {\n "error": "redirect_uri_mismatch",\n "error_description": "Bad Request"\n}\n'

I had added https://<my-app>.herokuapp.com/callback/google to my list of authorized client URLs for the google oauth client, and I see it (URL encoded) in the request for the token, and a code comes back, but it looks like something's going wrong and I can't figure it out. Thoughts?

juddblair commented 8 years ago

Got it. Appears to be an issue with an HTTP/HTTPS mismatch - opened a pull request

slepkin commented 8 years ago

Specifically, #7.