xborder commented on PR #2651: URL: https://github.com/apache/arrow-adbc/pull/2651#issuecomment-2801551442
@davidhcoe I think you can refer to [this](https://github.com/apache/arrow-adbc/pull/2651#discussion_r2017519403) comment. [TokenSource](https://github.com/golang/oauth2/blob/65c15a35147ccc5127e9f8cdf2e07837596e56b4/oauth2.go#L249) returns the obtain token or triggers a refresh if it expired. I tested locally and could confirm that it was triggering refresh calls to the IdP in between flight calls. Even if the request runs long, it should still be valid until the request is finished/aborted and refresh the token for the next request. It will require a better setup to test those edge cases but for most common scenarios this PR should address it. -- 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: github-unsubscr...@arrow.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org