How to re-auth user if scopes have already been granted
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 25/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Cần làm rõ
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- swift
- Lĩnh vực
- authentication, mobile-dev
Hướng nghiên cứu
Bắt đầu với lệnh gọi GIDSignIn.sharedInstance.addScopes trong issue và xem xét hành vi của iOS SDK đối với kGIDSignInErrorCodeScopesAlreadyGranted. Xác định liệu SDK có hỗ trợ chọn tài khoản phụ YouTube sau khi các scope đã được cấp hay không, đồng thời ghi lại hoặc tái hiện luồng xác thực lại được hỗ trợ. Hoàn thành khi hành vi dự kiến và đường dẫn API áp dụng đã được xác định.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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
- Ngôn ngữ chính
- Objective-C
- Star
- 751
- Fork
- 282
- Merge trung bình
- 2 ngày 15 giờ
- Pull request đã merge (30 ngày)
- 9
Hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của google/GoogleSignIn-iOS
-
enhancement triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
google/GoogleSignIn-iOS#621 ·
-
enhancement triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
google/GoogleSignIn-iOS#620 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
google/GoogleSignIn-iOS#440 · 4 bình luận · 2 reaction ·
-
enhancement triage
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 48/100
google/GoogleSignIn-iOS#611 ·
-
Remove Cocoapods Support Đang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 45/100
google/GoogleSignIn-iOS#607 ·
Tất cả issue của google/GoogleSignIn-iOS
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
-
macOS下查找brew::ncurse失败 Đang mởbug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
noah-nuebling/mac-mouse-fix#2054 ·
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 92/100
obsproject/obs-studio#13918 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
HigherOrderCO/Bend#842 · 2 bình luận ·