Open ianfiske opened 8 years ago
I have the same problem. There's a section in the config where it looks for some OAuth env vars.
[oauth]
# Valid oauth providers include google and that's it
provider = 'google'
client_id = $OAUTH_CLIENT_ID
client_secret = $OAUTH_CLIENT_SECRET
I'm unsure of how to fix this though. Anyone been able to figure it out?
@timabe you need to go to the Google developer console and create credentials for an Oauth client, and then update your config with those credentials, as well as add an authorized redirect URL for https://<your-app-name-here>.herokuapp.com/callback/google
. Not that this matters, because I've been unsuccessful in getting it working due to an issue with oauth redirect URIs.
Fixed the redirect issue in my fork here - https://github.com/juddblair/heroku-airflow Note that you also need to run the migration.sql
file to finally, actually get everything working.
I followed the instructions and set the AIRFLOW_HOME environment variable, but cannot login because of an OAuth problem: When I visit my app url, I am redirected to google and get this message:
This is the redirect URL: https://accounts.google.com/o/oauth2/v2/auth?response_type=code&redirect_uri=https%3A%2F%2F{REDACTED_APP_NAME}.herokuapp.com%2Fcallback%2Fgoogle&scope=email+profile&client_id=%24OAUTH_CLIENT_ID
Is there some config step of var that I am missing?
Thanks!