VictorGeaGarcia opened a new pull request #11890:
URL: https://github.com/apache/airflow/pull/11890


   **WHY?**
   - [prompt 
functionality](https://developers.google.com/identity/protocols/oauth2/web-server#userconsentprompt)
 is not implemented in Google Auth implementation. Therefore you cannot log out 
properly from Airflow.
   
   **SOLUTION:**
   - Config section for Google Auth backend would look like:
   
   [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
   prompt = <One of : 'consent', 'select_account', 'none' or ''>
   
   closes: #11889
   
   


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