This repository was archived by the owner on Dec 13, 2018. It is now read-only.
File tree 2 files changed +5
-5
lines changed
src/Microsoft.AspNetCore.Authentication.Google
test/Microsoft.AspNetCore.Authentication.Test/Google 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ public static class GoogleDefaults
9
9
10
10
public static readonly string AuthorizationEndpoint = "https://accounts.google.com/o/oauth2/auth" ;
11
11
12
- public static readonly string TokenEndpoint = "https://www.googleapis.com/oauth2/v3 /token" ;
12
+ public static readonly string TokenEndpoint = "https://www.googleapis.com/oauth2/v4 /token" ;
13
13
14
14
public static readonly string UserInformationEndpoint = "https://www.googleapis.com/plus/v1/people/me" ;
15
15
}
Original file line number Diff line number Diff line change @@ -299,7 +299,7 @@ public async Task ReplyPathWillAuthenticateValidAuthorizeCodeAndState(string cla
299
299
{
300
300
Sender = req =>
301
301
{
302
- if ( req . RequestUri . AbsoluteUri == "https://www.googleapis.com/oauth2/v3 /token" )
302
+ if ( req . RequestUri . AbsoluteUri == "https://www.googleapis.com/oauth2/v4 /token" )
303
303
{
304
304
return ReturnJsonResponse ( new
305
305
{
@@ -489,7 +489,7 @@ public async Task AuthenticatedEventCanGetRefreshToken()
489
489
{
490
490
Sender = req =>
491
491
{
492
- if ( req . RequestUri . AbsoluteUri == "https://www.googleapis.com/oauth2/v3 /token" )
492
+ if ( req . RequestUri . AbsoluteUri == "https://www.googleapis.com/oauth2/v4 /token" )
493
493
{
494
494
return ReturnJsonResponse ( new
495
495
{
@@ -569,7 +569,7 @@ public async Task NullRedirectUriWillRedirectToSlash()
569
569
{
570
570
Sender = req =>
571
571
{
572
- if ( req . RequestUri . AbsoluteUri == "https://www.googleapis.com/oauth2/v3 /token" )
572
+ if ( req . RequestUri . AbsoluteUri == "https://www.googleapis.com/oauth2/v4 /token" )
573
573
{
574
574
return ReturnJsonResponse ( new
575
575
{
@@ -659,7 +659,7 @@ public async Task ValidateAuthenticatedContext()
659
659
{
660
660
Sender = req =>
661
661
{
662
- if ( req . RequestUri . AbsoluteUri == "https://www.googleapis.com/oauth2/v3 /token" )
662
+ if ( req . RequestUri . AbsoluteUri == "https://www.googleapis.com/oauth2/v4 /token" )
663
663
{
664
664
return ReturnJsonResponse ( new
665
665
{
You can’t perform that action at this time.
0 commit comments