Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 71531

Firebase UI iOS redirect

$
0
0

@reedrichards wrote:

Anyone using Firebase UI? What are you using as redirect URL for iOS?

I’m following the Google documentation https://firebase.google.com/docs/auth/web/cordova and I was able to set everything correctly for Android but on iOS I either face an empty screen or a “Dynamic Link not found” error on redirect once the login as been proceeded

Concretely, on iOS, what value are you assigning to your config for signInSuccessUrl?

custom url or dynamic link or ionic://localhost?

const uiConfig = {
            signInFlow: 'redirect',
            signInSuccessUrl: 'com.mypackage.app://',
            signInOptions: [firebase.auth.EmailAuthProvider.PROVIDER_ID],
            tosUrl: 'com.mypackage.app://terms',
            privacyPolicyUrl: 'com.mypackage.app://privacy',
            credentialHelper: firebaseui.auth.CredentialHelper.GOOGLE_YOLO
        };

p.s.:

on the web, signInSuccessUrl = your pwa url, https://…com
on Android, if wkwebview is used, signInSuccessUrl = http://localhost

Posts: 2

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 71531

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>