FirebaseAuthService
in src/app/firebase/auth/firebase-auth.service.ts
ios/App/App/capacitor.config.json
android/app/src/main/AndroidManifest.xml
under the manifest tag.my-app-12345.firebaseapp.com/__/auth/handler
) is set as your Authorization callback URL in your app's settings page on your Twitter app's config.file://
or ionic://
scheme. This is required so that Firebase Auth can properly handle signInWithRedirect
and signInWithPopup
operations. Firebase Auth will treat http://localhost
origins as web-based browser apps. http://
protocol, so there is no match between these protocols. For this reason, we need to use the native SDKs to perform social authentication from our native (iOS and Android) apps. google-services.json
file for android and GoogleService-Info.plist
for iOS. GoogleService-Info.plist
file into your Xcode project in App/App
like in the following screenshot:google-services.json
in your android project in android/app
like in the image below:src/app/firebase/auth/firebase-auth.service.ts
FirebaseProfilePageModule
to redirect unauthorized users to sign in page so they can sign in to the app and then access their profile page.signUpWithEmail
method from the src/app/firebase/auth/firebase-auth.service.ts
or by signing in using a federated identity provider, such as Google Facebook or Twitter.