Autentica mediante proveedores de OAuth con Cordova
Organiza tus páginas con colecciones
Guarda y categoriza el contenido según tus preferencias.
Con el SDK de Firebase JS, puedes permitir que los usuarios de Firebase se autentiquen con cualquier proveedor de OAuth compatible en un entorno de Cordova. Para integrar cualquier proveedor de OAuth compatible, puedes ejecutar el flujo de OAuth de forma manual y pasar la credencial de OAuth resultante a Firebase.
Instrucciones para controlar el flujo de acceso de forma manual para cada proveedor:
[null,null,["Última actualización: 2025-08-16 (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."]]