为什么显示 Google Play sign in "Confirm your choices" 额外的弹出窗口?

Why is Google Play sign in "Confirm your choices" extra popup shown?

目前,我正在实施 Google Play 登录,功能正常。

当我测试实现时,我意识到在允许第一个弹出窗口后,有一个额外的弹出窗口,标题为“确认您的选择”。

无论是代码中的配置还是 Google Play 控制台上的设置,我都找不到摆脱第二步的任何方法。

有人知道 Google Play 登录显示此“确认您的选择”弹出窗口的原因吗?我怎样才能摆脱这个额外的步骤?

这是 GoogleSignInOptions:

GoogleSignInOptions googleSignInOptions = new GoogleSignInOptions.Builder(GoogleSignInOptions.DEFAULT_GAMES_SIGN_IN)
            .requestIdToken("some-id)
            .build();

根据 2018 年 Google 发布的此功能 [1],这是有意为之的行为,您无法摆脱。您还可以在 Google 对使用 Google/OAuth 登录的应用程序的策略中找到关于此的文档,其中包括 Play [2].

[1] https://developers.googleblog.com/2018/10/more-granular-google-account.html

[2] https://developers.google.com/identity/protocols/oauth2/policies#unbundled-consent