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 15:30:59 UTC
[GitHub] [airflow] Minyus commented on pull request #3919: [AIRFLOW-3089] Drop hard-coded url scheme in google auth redirect.
Minyus commented 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
----------------------------------------------------------------
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