refactor(backend): use single shared HTTP client with backoff
This commit is contained in:
parent
bba322bd22
commit
5d452824cd
9 changed files with 232 additions and 75 deletions
|
@ -28,7 +28,7 @@ public partial class RemoteAuthService
|
|||
)
|
||||
{
|
||||
var redirectUri = $"{config.BaseUrl}/auth/callback/google";
|
||||
HttpResponseMessage resp = await _httpClient.PostAsync(
|
||||
HttpResponseMessage resp = await client.PostAsync(
|
||||
_googleTokenUri,
|
||||
new FormUrlEncodedContent(
|
||||
new Dictionary<string, string>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue