有没有办法消除点击“继续”后出现的额外屏幕?在 Google Oauth 流程中?
我在 Devise 中使用 Google 策略通过 OAuth 对用户进行身份验证。单击我的应用程序中的链接后,用户会跳转到 Google,在那里他们选择要使用的帐户并点击继续。然而,目前他们看到了另一个屏幕,如下所示。
网站 www.site.com 正在请求 访问您的 Google 帐户 下面列出的产品。
Google 通讯录
我需要的只是身份验证部分,我想从流程中删除最后一个屏幕。这可能吗?
I'm using the Google strategy in Devise to authenticate users through OAuth. After clicking on a link in my app, the user is bounced to Google, where they select an account to use and hit continue. However, currently they get another screen as below.
The site www.site.com is requesting
access to your Google Account for the
product(s) listed below.Google Contacts
All I need is the auth part, and I'd like to eliminate this last screen from the flow. Is this possible?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
需要将它们带到该屏幕并实际单击“确定”。否则,欺骗人们向您提供他们的身份验证 cookie 并不难。此外,如果他们当前尚未登录,系统将提示他们登录。
It is required that they are brought to that screen and actually click OK. Otherwise it wouldn't be hard too hard to trick people into giving you their auth cookies. Also, if they aren't currently logged in they will be prompted to do that there.