eric-wang-1990 commented on PR #3715:
URL: https://github.com/apache/arrow-adbc/pull/3715#issuecomment-3543681673

   > > Discussed offline. The extend lifetime token exchange can be 
non-blocking, because the original token is a valid OAuth token. The mandatory 
token exchange can be non-blocking for AAD tokens issued from Azure Databricks 
since the original token is valid, but it must be blocking for workload 
identity federation because the original token is only used for token exchange 
(and can't access Databricks resources directly).
   > 
   > we should make the extend lifetime token exchange non blocking to ensure 
we are not increasing the query time. also do we have token cache for SSO? we 
should avoid calling the endpoint for every query/requests.
   
   We are caching the token. It is not calling the endpoint for every request, 
for a single httpConnection handler it will only do it for once.


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