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?
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 25/100
- issue の種類
- バグ
- 明瞭さ
- 説明が足りない
- 活発さ
- 静か
- 技術スタック
- ios, swift
- 領域
- authentication, mobile
調査の方向性
GoogleSignIn-iOS のサインインフローと、追加スコープ 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
- 平均マージ
- 2日 15時間
- マージ済み PR(30日)
- 9
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- 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 件 ·
-
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時間 初心者へのやさしさ 72/100
-
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 件 ·