Facebook and google account problem

37 views
Skip to first unread message

Issac Chan

unread,
Dec 28, 2016, 10:44:04 AM12/28/16
to Firebase Google Group
hi guys
i have an problem

assume i have an google account and facebook account with email te...@test.com

I can get the access token from both accounts.

Probelm : 

If I sign in using the access token from facebook before login to google, i can get the valid firebase token.
token start with eyJhb.

and I can re login again many time and have the same result.

However , once I login in google using same email,   firebase token start with eyJhb will be recevied only by google.
I try to login in using the access token facebook provided , firebase token start with AMzJo will be received, but it is invalid

HTTP: Unauthorized
{
  "error" : "Could not parse auth token."
}

In this moment, i will never login to firebase successfully using facebook account . only google account will work.
But if i never use the google account , it works.

Kato Richardson

unread,
Dec 28, 2016, 3:24:30 PM12/28/16
to Firebase Google Group

Hi Isaac,

It’ll help to include all the relevant code, sample data, debug logging, and version info so we can fully understand the problem. See how to ask and creating an mcve.

Also, you may want to look at linking accounts.

☼, Kato


--
You received this message because you are subscribed to the Google Groups "Firebase Google Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firebase-talk+unsubscribe@googlegroups.com.
To post to this group, send email to fireba...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/firebase-talk/a2764fd8-4cd9-4865-8ad6-9d5e5d75370c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--

Kato Richardson | Developer Programs Eng | kato...@google.com | 775-235-8398

Kato Richardson

unread,
Dec 28, 2016, 3:55:04 PM12/28/16
to Firebase Google Group
Also, it looks like you already posted this question on Stack Overflow. It shows respect for the community's time if you link to the duplicate, so we don't rehash material that's already been covered.

☼, Kato
Reply all
Reply to author
Forward
0 new messages