Skip to content

Commit f7930a7

Browse files
committed
add comment.
1 parent 47e1b53 commit f7930a7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,7 @@ static UserCredentials fromJson(Map<String, Object> json, HttpTransportFactory t
124124
"Error reading user credential from JSON, "
125125
+ " expecting 'client_id', 'client_secret' and 'refresh_token'.");
126126
}
127+
// currently "token_uri" is not a default field and needs to be added to json file manually
127128
String tokenUrl = (String) json.get("token_uri");
128129
URI tokenUri = (tokenUrl == null || tokenUrl.isEmpty()) ? null : URI.create(tokenUrl);
129130
return UserCredentials.newBuilder()

0 commit comments

Comments
 (0)