11
votes

We are using Firebase Auth and provide Google and Facebook login on our site.

We are a publisher and most of our stories are published as Instant Articles. However, some articles are locked and requires subscribers to login to read the full content.

This works in a normal browser, but when opening a non-IA link in FB In App Browser, the login popup appears but remains blank, and does not close.

Users are not signed in and can't login.

We are using:

firebase.auth().signInWithPopup(provider)

I was wondering if there are any ways besides the signInWithPopup that can help us achieve this?

Thx.

1
Does signInWithRedirect work?bojeil
Were you able to solve this ?Nadhir Falta
Yes, it works with signInWithRedirectEshwaren Manoharen

1 Answers

3
votes

As @bojeil mentioned,

use firebase.auth().signInWithRedirect(provider) instead.