Andrew See
Andrew See

Reputation: 1122

`<firebase-auth>` not working on 192.168.0.x

I am testing <firebase-auth> signInWithPopup() using polymer serve, everything works fine on localhost, but when tried from mobile browser via 192.168.0.x:8080, it fails. Any idea?

Is that because I am signing in from 192.168.0.x, and <firebase-auth> only support either localhost for local testing, or https only (which polymer serve is only http)?

Upvotes: 1

Views: 357

Answers (1)

Andrew See
Andrew See

Reputation: 1122

For it to work, you'll need to add in 192.168.0.x into OAuth redirect domains' Authorized domain in Firebase console

Upvotes: 2

Related Questions