refactor(backend): use single shared HTTP client with backoff

This commit is contained in:
sam 2025-03-11 16:10:55 +01:00
parent bba322bd22
commit 5d452824cd
Signed by: sam
GPG key ID: B4EF20DDE721CAA1
9 changed files with 232 additions and 75 deletions

View file

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