You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2020/08/22 17:57:31 UTC

[GitHub] [airflow] Minyus edited a comment on pull request #3919: [AIRFLOW-3089] Drop hard-coded url scheme in google auth redirect.

Minyus edited a comment on pull request #3919:
URL: https://github.com/apache/airflow/pull/3919#issuecomment-678654477


   @jmcarp 
   
   How can we configure to use https in airflow.cfg?
   
   I tried adding "scheme" as follows, but it still uses http instad of https.
   
   ```
   [webserver]
   authenticate = True
   auth_backend = airflow.contrib.auth.backends.google_auth
   
   [google]
   client_id = google_client_id
   client_secret = google_client_secret
   oauth_callback_route = /oauth2callback
   domain = example1.com,example2.com
   scheme = "https"
   ```
   
   Reference: https://airflow.apache.org/docs/stable/security.html#google-authentication
   
   If it cannot be configured in airflow.cfg, how can we configure the proxy to set the X-Forwarded-Proto header to https?


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org