supabase-flutter icon indicating copy to clipboard operation
supabase-flutter copied to clipboard

Can not sign in with Google

Open fan123199 opened this issue 1 year ago • 4 comments

Describe the bug

I am using supabase_flutter: 2.6.0 in package-lock.yaml

And using instrucion code to implement our app.

It is reported yesterday by our user that they cannot login, and then I test on Android 15 beta (Google Pixel 6 Pro) and Android 14 (Oneplus 12). It really cannot login, error shows

 [GoogleAuthUtil] [GoogleAuthUtil] error status:UNKNOWN with method:getTokenWithDetails

And I search from stackoverflow, https://stackoverflow.com/questions/79009273/flutter-platformexception-when-trying-to-get-google-sign-in-access-token, The fix works.

But it should be fixed in supabase docs. It should add scope to Google sign in function params.

fan123199 avatar Sep 23 '24 10:09 fan123199

I had the same issue all of a sudden, and had to spend a whole weekend figuring out this fix. Something must have just changed on Google's end, very annoying

elliottetzkorn avatar Sep 24 '24 15:09 elliottetzkorn

I had the same issue all of a sudden, and had to spend a whole weekend figuring out this fix. Something must have just changed on Google's end, very annoying

Yes, I think Google really make a bug. This should not happened. It is a production incident.

fan123199 avatar Sep 24 '24 15:09 fan123199

The scopes issue fixes debug but from what I can tell production is totally destroyed. I cannot login via the release signing sha no matter what I do. Is anyone seeing that too??

elliottetzkorn avatar Sep 26 '24 03:09 elliottetzkorn

It seems like Google has fixed the issue now internally? https://github.com/flutter/flutter/issues/155429

dshukertjr avatar Sep 26 '24 07:09 dshukertjr