[Question] Disable auto-login in Firebase?
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
- 30/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- cpp, firebase
- Lĩnh vực
- authentication, desktop
Hướng nghiên cứu
Bắt đầu với các lệnh gọi firebase::App::Create, firebase::auth::Auth::GetAuth, SignOut() và current_user() được nêu trong báo cáo. Kiểm tra triển khai Auth trên desktop và hành vi lưu trữ bền vững của nó để xác định liệu có thể tắt tính năng đăng nhập tự động hay không và thông tin xác thực được lưu ở đâu; được coi là hoàn thành khi cung cấp được các câu trả lời đã xác nhận cho cả hai câu hỏi.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
[READ] For Firebase Unity SDK question, please report to Firebase Unity Sample
Once you've read this section and determined that your issue is appropriate for this repository, please delete this section.
[REQUIRED] Please fill in the following fields:
- Pre-built SDK from the website or open-source from this repo: pre-built SDK
- Firebase C++ SDK version: 12.7.0
- Main Firebase Components in concern: Auth (Auth, Database, etc.)
- Other Firebase Components in use: _____ (Auth, Database, etc.)
- Platform you are using the C++ SDK on: Ubuntu 24.04 (Mac, Windows, or Linux)
- Platform you are targeting: Desktop (iOS, Android, and/or desktop)
[REQUIRED] Please describe the question here:
I want to disable auto-login, that is, I want to make that when the user opens my Desktop application current_user()->is_valid() evaluates to false (no currently active user).
At the moment the authentication state looks like to persist, I've tried avoiding this by signin-out as soon as I connect to the API:
m_firebase_app = firebase::App::Create(app_options);
m_firebase_auth = firebase::auth::Auth::GetAuth(m_firebase_app);
m_firebase_auth->SignOut();
m_firebase_auth->current_user().is_valid(); // Is still true with valid uid/email
But it does not work.
Another question: where is the authentication persisted on my local filesystem (which path)?
- Ngôn ngữ chính
- C++
- Star
- 326
- Fork
- 138
- Merge trung bình
- 1 ngày 12 giờ
- Pull request đã merge (30 ngày)
- 5
Chuẩn bị môi trường
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/firebase-cpp-sdk
-
[FR] Support desktop Linux on aarch64/arm (#error Unknown Linux architecture in app_common.cc)Đang mởnew type: question
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
firebase/firebase-cpp-sdk#1926 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
firebase/firebase-cpp-sdk#1905 · 2 bình luận ·
-
api: firestore
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 35/100
firebase/firebase-cpp-sdk#1920 · 3 bình luận ·
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 70/100
firebase/firebase-cpp-sdk#1904 · 1 bình luận ·
-
new type: question
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 45/100
firebase/firebase-cpp-sdk#1892 · 1 bình luận ·
Tất cả issue của firebase/firebase-cpp-sdk
Issue tương tự
-
`enzymexla.linalg.lu` lowering fails for a tall matrix: the permutation is built with the pivot typeĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
EnzymeAD/Enzyme-JAX#3286 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
apache/iceberg-cpp#973 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Add c++23 mapping to nvccĐang mởfeature request
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 86/100
Maintainer thường phản hồi trong vòng 2 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
Maintainer thường phản hồi trong vòng 1 ngày