Sử dụng bộ sưu tập để sắp xếp ngăn nắp các trang
Lưu và phân loại nội dung dựa trên lựa chọn ưu tiên của bạn.
Với SDK Firebase JS, bạn có thể cho phép người dùng Firebase xác thực bằng bất kỳ nhà cung cấp OAuth nào được hỗ trợ trong môi trường Cordova. Bạn có thể tích hợp bất kỳ trình cung cấp OAuth nào được hỗ trợ bằng cách thực hiện quy trình OAuth theo cách thủ công và chuyển thông tin xác thực OAuth thu được đến Firebase.
Hướng dẫn cách xử lý quy trình đăng nhập theo cách thủ công cho từng nhà cung cấp:
Sau khi bạn nhận được mã thông báo Apple ID của người dùng, hãy sử dụng mã thông báo đó để tạo một đối tượng Thông tin xác thực rồi đăng nhập người dùng bằng thông tin xác thực đó.
[[["Dễ hiểu","easyToUnderstand","thumb-up"],["Giúp tôi giải quyết được vấn đề","solvedMyProblem","thumb-up"],["Khác","otherUp","thumb-up"]],[["Thiếu thông tin tôi cần","missingTheInformationINeed","thumb-down"],["Quá phức tạp/quá nhiều bước","tooComplicatedTooManySteps","thumb-down"],["Đã lỗi thời","outOfDate","thumb-down"],["Vấn đề về bản dịch","translationIssue","thumb-down"],["Vấn đề về mẫu/mã","samplesCodeIssue","thumb-down"],["Khác","otherDown","thumb-down"]],["Cập nhật lần gần đây nhất: 2025-09-04 UTC."],[],[],null,["| **Warning** : The following three Firebase Authentication features\n| are impacted by the shutdown of Firebase Dynamic Links on August 25, 2025:\n| email link authentication for mobile apps, OAuth flows for Android apps\n| using older versions of the Authentication SDK, and Cordova OAuth support for\n| web apps. In order to use these features after the shutdown of Dynamic Links,\n| migrate to use a newer SDK version and complete some additional steps.\n|\n| For specific information and migration guidance, visit the\n| [Dynamic Links\n| Deprecation FAQ](/support/dynamic-links-faq#impacts-on-email-link-authentication).\n\nWith the Firebase JS SDK, you can let your Firebase users authenticate using any\nsupported OAuth provider in a Cordova environment. You can integrate any\nsupported OAuth provider by carrying out the OAuth flow manually and passing the\nresulting OAuth credential to Firebase.\n\nInstructions on how to handle the sign-in flow manually for each provider:\n\n- [Google](/docs/auth/web/google-signin#expandable-2)\n- [Facebook](/docs/auth/web/facebook-login#expandable-2)\n- [Twitter](/docs/auth/web/twitter-login#handle_the_sign-in_flow_manually)\n- [GitHub](/docs/auth/web/github-auth#handle_the_sign-in_flow_manually)\n- [Microsoft](/docs/auth/web/microsoft-oauth#expandable-2)\n- [Yahoo](/docs/auth/web/yahoo-oauth#expandable-2)\n- Apple\n 1. Follow [Configuring your webpage for Sign in with\n Apple](https://developer.apple.com/documentation/signinwithapplejs/configuring_your_webpage_for_sign_in_with_apple) to sign in the user with their Apple Account and get the user's Apple ID token.\n 2. After you get the user's Apple ID token, use it to build a [Credential\n object](/docs/auth/web/apple#advanced_authenticate_with_firebase_in_nodejs) and then sign in the user with the credential."]]