When implementing Google Sign-In on iOS, is it possible to indicate in the google account sign-in popup that only email address will be used?
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 25/100
- Issue 类型
- 缺陷
- 描述清晰度
- 需要澄清
- 活跃度
- 冷清
- 技术栈
- ios, swift
- 领域
- authentication, mobile
调研方向
从 GoogleSignIn-iOS 的登录流程以及使用附加 scope userinfo.email 的 Swift 调用开始。检查 SDK 如何在 popup 中呈现请求的和默认的帐户信息,然后在 iOS 上复现该行为。完成标准是确定是否可以将同意显示限制为电子邮件地址,并记录受支持的行为或配置。
由索引模型根据 Issue 内容生成。
描述
Describe the bug
When implementing Google Sign-In on iOS, is it possible to indicate in the google account sign-in popup that only email address will be used?
To Reproduce
Steps to reproduce the behavior:
- Implement google sign in using GoogleSignIn-iOS library
- Build the app and press the google sign up button to proceed with the signup process.
- In the google account integration popup, you will see that “name, email address, profile picture” are accessible in the user's account.
Expected behavior
I only need the user's email address. I want the popup to show the user that it only uses the email address.
As I understand it, name, email address, profile picture are the default public information in google account. However, I will only use the user's email address in my app via google sign-up, and I want the popup to show only the email address.
Is this possible?
Screenshots
Environment
- Device: any iPhone
- OS: any iOS
- Browser: N/A
Additional context
I've tested it without passing scope in the sign in request, and I've tested it with explicitly adding only userinfo.email as scope, but in both cases the sign-in popup shows that name, email address, profile picture are accessible. I want only the email address to be marked as accessible.
let additionalScopes = ["https://www.googleapis.com/auth/userinfo.email"]
GIDSignIn.sharedInstance.configuration = config
GIDSignIn.sharedInstance
.signIn(withPresenting: rootViewController, hint: nil, additionalScopes: additionalScopes) {
...
}
- 主要语言
- Objective-C
- 星标
- 751
- 派生
- 282
- 平均合并
- 4 天 20 小时
- 30 天内合并 PR
- 11
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
google/GoogleSignIn-iOS 的其他 Issue
-
enhancement triage
难度 2/5 1-3 小时 新手友好度 72/100
google/GoogleSignIn-iOS#621 ·
-
enhancement triage
难度 2/5 1-3 小时 新手友好度 76/100
google/GoogleSignIn-iOS#620 ·
-
难度 2/5 1-3 小时 新手友好度 68/100
google/GoogleSignIn-iOS#440 · 4 条评论 · 2 个 reaction ·
-
enhancement triage
难度 4/5 3-5 天 新手友好度 48/100
google/GoogleSignIn-iOS#611 ·
-
难度 4/5 3-5 天 新手友好度 45/100
google/GoogleSignIn-iOS#607 ·
查看 google/GoogleSignIn-iOS 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 75/100
objective-see/LuLu#925 ·
-
bug
难度 2/5 1-3 小时 新手友好度 84/100
-
难度 2/5 1-3 小时 新手友好度 72/100
noah-nuebling/mac-mouse-fix#2054 ·
-
难度 1/5 1 小时以内 新手友好度 92/100
obsproject/obs-studio#13918 ·
-
难度 2/5 1-3 小时 新手友好度 88/100
HigherOrderCO/Bend#842 · 2 条评论 ·