guard
guard copied to clipboard
Use retryable http client in Azure authz provider
We see the timeout error in the checkaccess requrests sometimes.
Error occured during authorization check. Please retry again. Error: Checkaccess requests have timed out.: context deadline exceeded
This PR moves withRetryableHttpClient
from Azure authn provider to utils
, and leverage it in Azure authz provider's RefreshToken
and CheckAccess
.
@weinong @AzureMarker could you please have a review? Thanks!
@AzureMarker Could you please have a review again? Thanks
@weinong could you please have a review? Thanks
The PR is rebased. @weinong could you please have a review? Please let me know if anything is missing. Thanks!
@weinong could you please have another round of review? Thanks
@julienstroheker PTAL