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


   @jmcarp 
   
   >  the proxy should be configured to set the X-Forwarded-Proto header to 
https
   
   It might not be easy to change the proxy configuration.
   
   Is it impossible to use https by configuring only airflow.cfg?
   
   I tried adding "scheme" as follows, but it didn't work.
   
   ```
   [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
   - https://airflow.apache.org/docs/stable/howto/run-behind-proxy.html


----------------------------------------------------------------
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:
[email protected]


Reply via email to