Just migrated Firebase project, and now Google Auth doesn't work

748 views
Skip to first unread message

Benjamin Mueller

unread,
Jun 21, 2016, 11:42:43 AM6/21/16
to Firebase Google Group
Hi,

Apologies if this should be obvious, or is documented somewhere I cannot find.

Anyway, we just migrated one of our test projects over to the new console, and when I attempt to authenticate in the app via Google auth, I get an error on the following URL (client-specific data removed):


The error is:

401. That's an error
Error: invalid_client
The OAuth client was not found.
Request Details:scope=email openid
  • response_type=token code id_token gsession
  • redirect_uri=[myUri]
  • state=[myState]
  • client_id=[myId]
  • include_profile=true

I've created a Firebase project directly in the new console, uploaded an instance of our app to Firebase hosting that points to this new project, and that works just fine. I have verified that Google Auth is enabled in the app that is not currently working. The breaking app worked properly when it was on the old console. I don't have direct control over this particular app, so I don't know if billing needs to be migrated (though it's on the "Spark" plan, so I don't think there's anything to migrate).

What silly thing am I missing?

Thanks!

Alex Memering

unread,
Jun 21, 2016, 5:59:13 PM6/21/16
to fireba...@googlegroups.com
I'm really sorry that you're you're running into this issue. It might be that our migration process threw your app into a weird state. Please take a look and make sure that you have both a valid Google OAuth Web Client id and secret. You may also need to whitelist the Google OAuth Client ids that you’re using to authenticate Google users in your application. Specifically, within the Auth > Sign-In Method > Google section of the new console, there is a section to "Whitelist client IDs from external projects". If that does not work then please reach out to support.

Sorry for your troubles,
Alex

--
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-tal...@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/3a5663a7-4213-4d49-8662-5d8b4877ca51%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Benjamin Mueller

unread,
Jun 22, 2016, 12:47:11 PM6/22/16
to Firebase Google Group
Thanks for the update. This doesn't give me quite enough to go on. I don't know how to tell if my Google OAuth Web Client id and secret are valid. I also don't know under what circumstances I need to whitelist the client ids (e.g. I have another project with no whitelisted ids, and it works fine--though that project was created in the new console). I have a ticket open with Firebase Support, so I'll continue the discussion there. I'll update this thread with whatever info is helpful and can be shared.
Reply all
Reply to author
Forward
0 new messages