Authenticate Using OAuth Providers with Cordova | Firebase
Authenticate Using OAuth Providers with Cordova
With the Firebase JS SDK, you can let your Firebase users authenticate using any supported OAuth provider in a Cordova environment. You can integrate any supported OAuth provider by carrying out the OAuth flow manually and passing the resulting OAuth credential to Firebase.
Instructions on how to handle the sign-in flow manually for each provider:
- Follow 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.
- After you get the user's Apple ID token, use it to build a Credential object and then sign in the user with the credential.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-09-24 UTC.