How to re-auth user if scopes have already been granted
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 25/100
- issue の種類
- バグ
- 明瞭さ
- 説明が足りない
- 活発さ
- 停滞
- 技術スタック
- swift
調査の方向性
issue 内の GIDSignIn.sharedInstance.addScopes 呼び出しから始め、kGIDSignInErrorCodeScopesAlreadyGranted に対する iOS SDK の動作を確認します。Scopes が許可された後に SDK が YouTube のサブアカウントの選択をサポートしているかを判断し、サポートされている再認証フローを文書化するか再現します。期待される動作と該当する API パスが確立されれば完了です。
索引モデルが issue の本文から書いたものです。
説明
Describe the bug
I am asking for permission for Youtube scopes. Youtube has multiple sub accounts under one email.
If I request scopes for a second time, the API sends:
case scopesAlreadyGranted = -8
Indicates the requested scopes have already been granted to the currentUser.
kGIDSignInErrorCodeScopesAlreadyGranted
How do I let a user re-authenticate under a sub email of the YT scope permissions?
To Reproduce
Steps to reproduce the behavior:
GIDSignIn.sharedInstance.addScopes(
self.additionalScopes,
presenting: self,
callback: { user, error in
})
Expected behavior
Authenticate a sub email under the main email of the Google sign in.
For example: If a user signs out. I would like to re show or re-access the sub emails under the addScopes function.
Essentially, I would like to ask for scopes a second time.
Screenshots

Environment
- OS: iOS Swift
- 主要言語
- 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 件 ·