nicnguyen3103 commented on issue #52103: URL: https://github.com/apache/airflow/issues/52103#issuecomment-3015333358
Hi @vincbeck , I have added my test result to the https://github.com/apache/airflow/pull/52295, please have a look and let me know if there is anything else. I have attempted a fix for this but I don't quite understand how Airflow integrate with LDAP, so was quite stuck at the self. _rotate_session_id() session. Having the same warning issue. ``` RuntimeError: Working outside of request context. This typically means that you attempted to use functionality that needed an active HTTP request. Consult the documentation on testing for information about how to avoid this problem. ``` My understanding is that when airflow found the user in LDAP, it checks the database -> create the user if not exists -> then generate a session_id? If we generate token, we only check if the session_id of the user is still valid, but not rotating the session. Many thanks for your support @vincbeck ! -- 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]
