Skip to content

Commit 1b0f734

Browse files
authored
Update new token urls (#174)
1 parent df46fd3 commit 1b0f734

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

oauth2_http/java/com/google/auth/oauth2/OAuth2Utils.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,8 @@
6161
class OAuth2Utils {
6262
static final String SIGNATURE_ALGORITHM = "SHA256withRSA";
6363

64-
static final URI TOKEN_SERVER_URI = URI.create("https://accounts.google.com/o/oauth2/token");
65-
static final URI TOKEN_REVOKE_URI = URI.create("https://accounts.google.com/o/oauth2/revoke");
64+
static final URI TOKEN_SERVER_URI = URI.create("https://oauth2.googleapis.com/token");
65+
static final URI TOKEN_REVOKE_URI = URI.create("https://oauth2.googleapis.com/revoke");
6666
static final URI USER_AUTH_URI = URI.create("https://accounts.google.com/o/oauth2/auth");
6767

6868
static final HttpTransport HTTP_TRANSPORT = new NetHttpTransport();

0 commit comments

Comments
 (0)