Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'Couldn't sign you in' popup on Google sign in #13

Closed
Shamik07 opened this issue Mar 30, 2022 · 9 comments · Fixed by #17
Closed

'Couldn't sign you in' popup on Google sign in #13

Shamik07 opened this issue Mar 30, 2022 · 9 comments · Fixed by #17

Comments

@Shamik07
Copy link

I have the same issue open on the Flutter Fire desktop package... I thought this was a problem specific to the FlutterFire desktop package, but today I Ran the example app (flutter_desktop_webview_auth) (Windows 10), it runs perfectly, When I try the Google Sign In option the pop asking me for the email or phone number pops up but when I enter my email and try to sign in I get a
Couldn't sign you in... This browser or app may not be secure. Window

Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel stable, 2.10.3, on Microsoft Windows [Version 10.0.19042.1586], locale en-IN)
[√] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
[√] Chrome - develop for the web
[√] Visual Studio - develop for Windows (Visual Studio Community 2022 17.1.1)
[√] Android Studio (version 2021.1)
[√] VS Code (version 1.63.2)
[√] Connected device (3 available)
[√] HTTP Host Availability

• No issues found!

159987385-52af4e4f-ac0b-4e31-992e-5681b76eb170

@pr-Mais
Copy link
Member

pr-Mais commented Apr 4, 2022

What's the current Edge version you're running on?

@Shamik07
Copy link
Author

Shamik07 commented Apr 5, 2022

Version 100.0.1185.29 (Official build) (64-bit)

image

@pr-Mais
Copy link
Member

pr-Mais commented Apr 18, 2022

The issue here is that Google is rejecting the WebView2, see here.
Related issue jnschulze/flutter-webview-windows#66
I'm not sure why it works on some devices. I'll update you soon if I could find a workaround.

@pr-Mais
Copy link
Member

pr-Mais commented Apr 19, 2022

@Shamik07 could you please try running the example app on the current main branch? let me know if you're still facing the same issue.

@PavelPZ
Copy link

PavelPZ commented Apr 22, 2022

The same error for me (desktop_webview_auth: ^0.0.6 in pubspec.yaml)

Whan I clone flutter_desktop_webview_auth repo and use dependency override for main branch, everything is OK:

dependency_overrides:
  desktop_webview_auth:
    path: d:/github/flutter_desktop_webview_auth

@pr-Mais
Copy link
Member

pr-Mais commented Apr 22, 2022

Hey @PavelPZ, you could sign in with Google when you used the main branch?

@PavelPZ
Copy link

PavelPZ commented Apr 24, 2022

Yes, main branch is working for me.
Is it possible to update the pub.dev package?

@pr-Mais
Copy link
Member

pr-Mais commented Apr 24, 2022

Amazing, sure! will push an update soon, thanks for confirming.

@Shamik07
Copy link
Author

@Shamik07 could you please try running the example app on the current main branch? let me know if you're still facing the same issue.

Yes!! It's working now! Thanks for the fix. Sorry for the late reply.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants