Skip to content

Commit f731b31

Browse files
committed
Google API updated endpoints
1 parent 40b498a commit f731b31

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Umbraco.Cms.Integrations.OAuthProxy/Configuration/ServiceConfiguration.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ public static class ServiceConfiguration
1616
{ "HubspotForms", "oauth/v1/token" },
1717
{ "Semrush", "oauth2/access_token" },
1818
{ "Shopify", "oauth/access_token" },
19-
{ "Google", "o/oauth2/token" }
19+
{ "Google", "token"}
2020
};
2121

2222
public static void AddServiceClients(this IServiceCollection services)
@@ -39,7 +39,7 @@ public static void AddServiceClients(this IServiceCollection services)
3939
});
4040
services.AddHttpClient("GoogleToken", c =>
4141
{
42-
c.BaseAddress = new Uri("https://accounts.google.com/");
42+
c.BaseAddress = new Uri("https://oauth2.googleapis.com/");
4343
});
4444
}
4545
}

0 commit comments

Comments
 (0)