fix: confirm email changes and enforce clean backend build
This commit is contained in:
@@ -63,9 +63,8 @@ internal class LoginWithGoogleHandler(
|
||||
|
||||
// Verify the token with Google
|
||||
using HttpClient httpClient = httpClientFactory.CreateClient();
|
||||
using HttpResponseMessage response = await httpClient.GetAsync(
|
||||
$"https://www.googleapis.com/oauth2/v1/userinfo?access_token={googleToken.AccessToken}",
|
||||
ct);
|
||||
Uri userInfoUri = new($"https://www.googleapis.com/oauth2/v1/userinfo?access_token={googleToken.AccessToken}");
|
||||
using HttpResponseMessage response = await httpClient.GetAsync(userInfoUri, ct);
|
||||
if (!response.IsSuccessStatusCode)
|
||||
{
|
||||
await SendStringAsync(
|
||||
|
||||
Reference in New Issue
Block a user