Gmail API/Google Auth-如何获得验证? [英] Gmail API / Google Auth - How to get verified?

查看:175
本文介绍了Gmail API/Google Auth-如何获得验证?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经在Vue.js和Laravel中使用Gmail API/Google Auth创建了一个可以代表用户阅读和发送电子邮件的应用程序.我的代码工作正常,但是在用户授权对其收件箱的访问之前,我会看到此错误屏幕.显然,有些验证过程表明Google并未在任何地方进行记录.我什至在Google开了票,但没有答案.我想知道这里是否有人知道如何对其进行验证?

I have created an app with Gmail API / Google Auth in Vue.js and Laravel that can read and send emails on a user's behalf. My code works fine, however I see this error screen before a user can authorize the access to their inbox. Apparently there is some verification process that Google has not documented anywhere. I even opened a ticket with Google but no answer. I was wondering if anyone here knows how to get it verified?

推荐答案

OAuth客户验证

从2017年7月18日开始,请求某些敏感OAuth范围的Google OAuth客户端将接受Google的审查.

Starting July 18, 2017, Google OAuth clients that request certain sensitive OAuth scopes will be subject to review by Google.

OAuth客户端验证 从2017年7月18日开始,请求某些敏感OAuth范围的Google OAuth客户端将接受Google的审查.

OAuth Client Verification Starting July 18, 2017, Google OAuth clients that request certain sensitive OAuth scopes will be subject to review by Google.

对于所有者和用户属于同一G Suite域或客户的Apps Script项目,不需要进行审核. 来自开发者域外的用户访问尚未经过审核的客户端的OAuth提示时,将看到一个新的未经验证的应用程序屏幕,并且此类用户的数量将受到限制.未经验证的授权流程允许用户对未经验证的应用程序进行授权,但前提是必须确认他们了解风险.您可以在此帮助中心文章中了解更多有关此更改的信息.

Review is not required for Apps Script projects whose owner and users belong to the same G Suite domain or customer. Users from outside the developer’s domain accessing the OAuth prompt for a client that has not been reviewed and verified will see a new unverified app screen, and the number of such users will be capped. An unverified authorization flow allows users to authorize unverified apps, but only after confirming they understand the risks. You can read more about this change in this help center article.

此更改适用于Google OAuth网络客户端,包括所有Apps Script项目使用的客户端. 通过Google验证您的应用,您可以删除未验证的授权流程中的应用程序"屏幕,让用户确信您的应用程序是非恶意的.

This change applies to Google OAuth web clients, including those used by all Apps Script projects. By verifying your app with Google, you can remove the unverified app screen from your authorization flow and give your users confidence that your app is non-malicious.

一旦您申请了验证,它大约需要一周的时间,并且应该可以开始工作.

Once you have applied for verification it takes around a week and it should start working.

这篇关于Gmail API/Google Auth-如何获得验证?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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