polymerfire icon indicating copy to clipboard operation
polymerfire copied to clipboard

Firebase Auth Google Provider not Working on Polymer Starter Kit 2.X

Open michael-learns opened this issue 8 years ago • 6 comments
trafficstars

Description

I'm getting this error whenever I try I to use the this.$.auth.signInWithPopup(): (https://user-images.githubusercontent.com/13252897/30729119-b349156c-9f8f-11e7-9032-c34e3fb39832.png)

Expected outcome

Should show the sign in page that shows all your google accounts.

Actual outcome

This error occurs about Network Error (https://user-images.githubusercontent.com/13252897/30729119-b349156c-9f8f-11e7-9032-c34e3fb39832.png)

Additional Info

I already have the Google Provider Sign Up method allowed in my Firebase console I've only tested this on Chrome Browser Version: 60.0.3112.113

michael-learns avatar Sep 22 '17 04:09 michael-learns

Hi @Mikebarson do you have a basic working repo?

tjmonsi avatar Sep 22 '17 19:09 tjmonsi

@tjmonsi I don't have a repo. Do you need the code?

michael-learns avatar Sep 23 '17 00:09 michael-learns

I hope so. Are you just using it in localhost or are you calling it from somewhere (like 127.0.0.1). If the latter, try using localhost

tjmonsi avatar Sep 23 '17 02:09 tjmonsi

I'm using the 127.0.0.1. I also tried using the localhost but same problem.

michael-learns avatar Sep 24 '17 14:09 michael-learns

@Mikebarson Do you use polymer serve or polymer build?

FluorescentHallucinogen avatar Oct 04 '17 14:10 FluorescentHallucinogen

@FluorescentHallucinogen No. I'm directly serving my app in a Django application via views.

michael-learns avatar Nov 28 '17 05:11 michael-learns