`GIDSignIn.sharedInstance.signIn(...)` is requesting more scopes than it should on version 7.1.0
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
- 35/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- ios, swift
- Lĩnh vực
- authentication, mobile
Hướng nghiên cứu
Tái hiện luồng sign-in được hiển thị trong issue trên iOS 17 với Google Sign-In 7.1.0, sau đó so sánh với phiên bản 6.0.2. Xác minh những scopes nào được yêu cầu sau sign-in và coi issue là đã được giải quyết khi không có scopes bổ sung nào được yêu cầu nếu không có yêu cầu rõ ràng.
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 was updating Google Sign-In in our app from version 6.0.2 to version 7.1.0 and I noticed that even though we're not requesting any additional scopes, GIDSignIn.sharedInstance.signIn(...) is presenting a page after login asking the user to give additional permissions before completing the Sign-In flow.
This wasn't happening previously when we were using version 6.0.2.
To Reproduce
Steps to reproduce the behavior:
- Use this call to initiate the Sign-In flow:
GIDSignIn.sharedInstance.signOut()
GIDSignIn.sharedInstance.configuration = GIDConfiguration(clientID: "...our client ID")
GIDSignIn.sharedInstance.signIn(
withPresenting: presentingViewController,
completion: { [weak self] result, error in
// ... complete login
}
}
- Run the app on the simulator or a device.
- Initiate the Sign-in flow.
Expected behavior
No additional scopes should be requested after completing Sign-In with Google.
Screenshots
| Version 7.1.0 |
|---|
Environment
- Device: Tested on the iPhone 15 Simulator (iOS 17.0) and an iPhone 11 Pro (iOS 17.4.1)
- OS: iOS 17
- 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ự
-
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 ·