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 2021/04/15 18:59:25 UTC

[GitHub] [airflow] marcomattolab opened a new issue #15386: keycloak with Airflow - logout issue

marcomattolab opened a new issue #15386:
URL: https://github.com/apache/airflow/issues/15386


   I have to use **Airflow 2.X** with **Keycloak** as IDM,
   and following this example https://github.com/skhatri/airflow-by-example in which Airflow is integrated with Keycloak (see docker-compose file),
   I get that **Logout** from Airflow doesn't work (_Session is still on_).
   **_Is it a BUG, and if Yes how can I fix it?_**
   
   
   Any suggestion will be appreciated.
   Thank you, Marco
   
   > Aiflow:  apache/airflow:2.0.0-python3.8
   > Keycloak: 11.0.3


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



[GitHub] [airflow] boring-cyborg[bot] commented on issue #15386: keycloak with Airflow - logout issue

Posted by GitBox <gi...@apache.org>.
boring-cyborg[bot] commented on issue #15386:
URL: https://github.com/apache/airflow/issues/15386#issuecomment-820661630


   Thanks for opening your first issue here! Be sure to follow the issue template!
   


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



[GitHub] [airflow] marcomattolab commented on issue #15386: keycloak with Airflow - logout issue

Posted by GitBox <gi...@apache.org>.
marcomattolab commented on issue #15386:
URL: https://github.com/apache/airflow/issues/15386#issuecomment-825197168


   Fixed.
   I've modified 'navbar_right.html' forcing logout directly on keycloak to invalidate session with the modified logout url below.
   
   - Original logout URL: http://airflow:8280/logout
   - Modified logout URL: http://keycloak:8080/auth/realms/airflow/protocol/openid-connect/logout?redirect_uri=http://airflow:8280/logout
   
   I don't know if there are more suitable solutions but it works.
   
   


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



[GitHub] [airflow] marcomattolab closed issue #15386: keycloak with Airflow - logout issue

Posted by GitBox <gi...@apache.org>.
marcomattolab closed issue #15386:
URL: https://github.com/apache/airflow/issues/15386


   


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