anavrotski commented on issue #60668:
URL: https://github.com/apache/airflow/issues/60668#issuecomment-3764199762

   @uplsh580  Are you using OAuth in your setup?
   
   In my setup OAuth [enabled like 
here](https://airflow.apache.org/docs/apache-airflow-providers-fab/stable/auth-manager/webserver-authentication.html#example-using-team-based-authorization-with-github-oauth)
 and `webserver_config.py` is provided as k8s configmap as shown here - 
[apiServer.apiServerConfig](https://airflow.apache.org/docs/helm-chart/stable/parameters-ref.html)
   So it is not in the image, it is in the Helm chart:
   ```yaml
   apiServer:
     env:
       - name: CLIENT_ID
         valueFrom:
           secretKeyRef:
             name: airflow-custom-oauth
             key: client_id
       - name: CLIENT_SECRET
         valueFrom:
           secretKeyRef:
             name: airflow-custom-oauth
             key: client_secret
       - name: API_BASE_URL
         valueFrom:
           secretKeyRef:
             name: airflow-custom-oauth
             key: api_url
       - name: SERVER_METADATA_URL
         valueFrom:
           secretKeyRef:
             name: airflow-custom-oauth
             key: server_metadata_url
   
     apiServerConfigConfigMapName: airflow-api-server-config # TODO: built-in 
name used due to https://github.com/apache/airflow/issues/52632
   ```


-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to