KH-Coder865 commented on issue #59600:
URL: https://github.com/apache/airflow/issues/59600#issuecomment-3670344999

   I agree that directly overriding a private method isn’t ideal. A better 
approach might be to add an optional parameter, like rotate_session_id=False, 
to auth_user_oauth(). That way, session rotation can be safely skipped when 
generating tokens outside a request context, without touching private methods. 
I’d be happy to contribute a PR to implement this.


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