为什么Google Play登录“确认您的选择"显示额外的弹出窗口? [英] Why is Google Play sign in "Confirm your choices" extra popup shown?

查看:80
本文介绍了为什么Google Play登录“确认您的选择"显示额外的弹出窗口?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当前,我正在实现Google Play登录,并且功能正常.

Currently, I am implementing the Google Play sign in and it works fine functionally.

当我测试实现时,我意识到还有一个弹出窗口,标题为确认您的选择".允许第一个弹出窗口后.

When I test the implementation, I realized that there is one extra popup with the title "Confirm your choices" after allowing the first popup.

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

I couldn't find any way to get rid of that second step neither with configurations in the code nor with the setup on the Google Play console.

有人知道Google Play登录显示此确认您的选择"的原因吗?弹出窗口,如何摆脱多余的步骤?

Does anybody know the reason that Google Play sign in shows this "Confirm your choices" popup and how can I get rid of that extra step?

这是GoogleSignInOptions:

Here is the GoogleSignInOptions:

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

推荐答案

根据Google在2018年发布的有关此功能的公告[1],这是预期的行为,而不是您可以摆脱的东西.您还可以在Google的使用Google/OAuth登录"应用程序政策中找到有关此文档的文档,其中包括Play [2].

This is intended behavior and not something you can get rid of, per the Google announcement of this feature in 2018 [1]. You can also find documentation about this in Google's policies for applications using Sign In With Google/OAuth, which includes Play [2].

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

[2] https://developers.google.com/身份/协议/oauth2/policies#unbundled-consent

这篇关于为什么Google Play登录“确认您的选择"显示额外的弹出窗口?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆