srthok opened a new issue #11290:
URL: https://github.com/apache/airflow/issues/11290


   
   
   **Apache Airflow version**:  1.10.9
   
   **Environment**:
   
   - **Cloud provider or hardware configuration**: AWS
   - **OS** (e.g. from /etc/os-release):  Ubuntu 18.04.4 LTS
   - **Kernel** (e.g. `uname -a`): Linux ip-x-x-x-x 5.4.0-1025-aws 
#25~18.04.1-Ubuntu SMP x86_64 GNU/Linux
   - **Install tools**:  Flask-OAuthlib (0.9.6)
   - **Others**:
   
   **What happened**:
       After configuring GHE auth, Login is working as expected and when I hit 
logout, It says as below and still can see DAGs and able to run DAGs
   
        
   
![image](https://user-images.githubusercontent.com/11413448/95154768-3608e080-0758-11eb-8b7d-ffc74e9437a1.png)
   
     **What you expected to happen**:
   
        It should invalidate the session and take you  back to the login page
   
   **How to reproduce it**:
   
   Just by enabling GHE auth in airflow..
   
     Here is what my config looks like..
   <
   [webserver]
   <authenticate = True
   auth_backend = airflow.contrib.auth.backends.github_enterprise_auth
   [github_enterprise]
   host = github.xxxxx.yyyyy
   client_id = xxxxxxxx
   client_secret = xxxxxxx
   oauth_callback_route = /admin/ghe_oauth/callback
   allowed_teams = 32,947,948,682
   >
                
   **Anything else we need to know**:
   
   It occurs all the time. I just followed the documentation to 
configure..http://airflow.apache.org/docs/stable/security.html#oauth-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:
[email protected]


Reply via email to