angular / angularfire

Angular + Firebase = ❤️
https://firebaseopensource.com/projects/angular/angularfire2
MIT License
7.66k stars 2.19k forks source link

Facebook authentication with Firebase - Error message in popup #2237

Closed vpageau closed 3 years ago

vpageau commented 4 years ago

Version info

Angular: 8.2.1 Firebase: 6.6.2 AngularFire: 5.2.1

How to reproduce these conditions

Just a basic implementation of a Facebook authentication:

        this.afAuth.auth.signInWithPopup( new auth.FacebookAuthProvider() )
            .then(value => {
                //console.log('signInWithFacebook success: ', value);
                this.event$.next( new AuthenticationEvent(AuthenticationEventType.CONNECTED_WITH_FACEBOOK, value) );
            })
            .catch(err => {
                console.log('signInWithFacebook error: ', err);
                this.event$.next( new AuthenticationEvent(AuthenticationEventType.CONNECTED_WITH_FACEBOOK_FAILED, err) );
            });
    }

The following screenshot is from the production build when I try to connect using Facebook.

image

I haven't found anything on if the display type page is supported by angular/fire but this message pops up even in production and there's no workaround.

remisture commented 4 years ago

I have this issue as well. Did you solve it?

jamesdaniels commented 3 years ago

out of scope for AngularFire, if still experiencing this issue open with the Firebase JS SDK