The request context is used. This context gets canceled when the client cancels the request or the connection closes, stopping operations from running longer than needed.
The Azure auth provider uses a retryable HTTP client with request timeouts wherever possible. This should improve the reliability of the provider when network connectivity is unstable.
Tested by deploying to an Azure Resource Bridge and verifying auth calls to Guard still worked.
There are two improvements in this PR:
Tested by deploying to an Azure Resource Bridge and verifying auth calls to Guard still worked.