【发布时间】:2019-06-25 13:54:54
【问题描述】:
我正在尝试使用 OAuth 2.0 连接到 Gmail。
但是,无法测试您是否不能加入 risky-access-by-unreviewed-apps 组。
Google 是否阻止加入该群组?或者有没有其他办法?
连接方法参考以下文章。 https://developers.google.com/gmail/imap/xoauth2-protocol
【问题讨论】:
我正在尝试使用 OAuth 2.0 连接到 Gmail。
但是,无法测试您是否不能加入 risky-access-by-unreviewed-apps 组。
Google 是否阻止加入该群组?或者有没有其他办法?
连接方法参考以下文章。 https://developers.google.com/gmail/imap/xoauth2-protocol
【问题讨论】:
我在 google API 待处理电子邮件中提出了一个问题。
之后主页的内容更新了。
我在 risky-access-by-unreviewed-apps 组中看不到要注册的句子。
我在 iOS 上开发。
问题是G-Mail连接授权未在登录时添加权限。
我通过添加 G-Mail 权限解决了这个问题。
额外的权威来源
[GIDSignIn sharedInstance].scopes = [NSArray arrayWithObjects:@"https://www.googleapis.com/auth/userinfo.profile", @"https://www.googleapis.com/auth/userinfo.email", @"https://mail.google.com", nil];
IMAP JAVA 连接测试:https://github.com/google/gmail-oauth2-tools/wiki/JavaSampleCode
【讨论】: