Centralize anonymous user upgrade and handle upgrade conflicts
Maintainer thường phản hồi trong vòng 6 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức phù hợp với người mới
- 35/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Lĩnh vực
- authentication, mobile
Hướng nghiên cứu
Start by tracing the anonymous sign-in and provider upgrade flows across Flutter platforms, including the behavior related to #730. Compare how each provider handles linking and where credential-already-in-use is reported. Done means upgrades behave consistently and existing-account conflicts provide enough information for the app to sign in and merge data; the issue names no files or tests.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
- Related to #253
- Related to #730
Problem
Anonymous users are upgraded inconsistently
When a user who signed in anonymously then signs in with a provider, FirebaseUI should link the provider to the anonymous account so their uid and data are kept. Whether that happens currently depends on the provider and platform:
- On mobile, most providers link the account; Apple did not until #730.
- Email/password only links on sign-up. Email link only links when
upgradeAnonymousUsersis enabled. - On web, OAuth providers (Google, Apple, etc.) sign in as a new user instead of linking, so the anonymous user's data is lost. Phone sign-in on web links even when the signed in user is not anonymous.
Returning users can get stuck
If an anonymous user signs in with a provider account that already belongs to another user (for example, a returning user on a new device), linking fails with credential-already-in-use and the sign-in screen shows an error. The user cannot sign in with that provider while signed in anonymously, and the app has no way to recover the sign-in or merge the anonymous user's data.
Expected behaviour
- Upgrading anonymous users behaves the same for every provider and platform.
- When the account already exists, the app is given what it needs to sign the user in and merge the anonymous user's data, instead of a dead-end error.
- Ngôn ngữ chính
- Dart
- Star
- 152
- Fork
- 144
- Merge trung bình
- 17 giờ 49 phút
- Pull request đã merge (30 ngày)
- 3
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc 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 firebase/FirebaseUI-Flutter
-
Support material_ui packageCó thể đã có người làm @Mastersam07 đã nhận 13 ngày trước. Đang mở
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 35/100
firebase/FirebaseUI-Flutter#729 · 1 người được giao ·
Maintainer thường phản hồi trong vòng 6 ngày
-
🐛 Support firebase_core 5.0.0Có thể đã có người làm @Mastersam07 đã nhận 13 ngày trước. Đang mở
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 58/100
firebase/FirebaseUI-Flutter#727 · 4 reaction · 1 người được giao ·
Maintainer thường phản hồi trong vòng 6 ngày
-
auth blocked: customer response enhancement Keep Open
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 35/100
firebase/FirebaseUI-Flutter#418 · 7 bình luận · 3 reaction ·
Maintainer thường phản hồi trong vòng 6 ngày
-
auth Keep Open Needs Attention
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 20/100
firebase/FirebaseUI-Flutter#351 · 3 bình luận · 1 reaction ·
Maintainer thường phản hồi trong vòng 6 ngày
-
enhancement Keep Open storage
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 38/100
firebase/FirebaseUI-Flutter#290 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 6 ngày
Tất cả issue của firebase/FirebaseUI-Flutter
Issue tương tự
-
bot-found bug priority: P3
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
madenvel/KalinkaPlayer#498 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
libnativeapi/nativeapi#21 ·
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
chriskelly/wish-together#102 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
area/adaptivity kind/task priority/p1
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 60/100
spotiflacapp/SpotiFLAC-Mobile#783 ·