Skip to content

Commit 19ce849

Browse files
committed
fix: update approval_prompt=force to prompt=consent
1 parent 6c311e2 commit 19ce849

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ public URL getAuthorizationUrl(
206206
url.put("state", state);
207207
}
208208
url.put("access_type", "offline");
209-
url.put("approval_prompt", "force");
209+
url.put("prompt", "consent");
210210
if (userId != null) {
211211
url.put("login_hint", userId);
212212
}

0 commit comments

Comments
 (0)