FlutterFlow / flutterflow-issues

A community issue tracker for FlutterFlow.
98 stars 17 forks source link

Can not authenticate with google on android. #2859

Closed Doli05 closed 4 days ago

Doli05 commented 2 weeks ago

Has your issue been reported?

Current Behavior

When I run my app on the browser, it lets me authenticate with google (I enabled email and password and google authentication), but if I run the app with my phone (FF preview app) it gives me the error: " Access blocked: Test App's request does not comply with Google's policies

Test App's request does not comply with Google's "Use secure browsers" policy. If this app has a website, you can open a web browser and try signing in from there. If you are attempting to access a wireless network, please follow these instructions You can also contact the developer to let them know their app must comply with Google's "Use secure browsers" policy. Learn more about this error

If you are a developer of Test App, see error details Error 403: disallowed_useragent"

Expected Behavior

It should redirect me to Google's authentication page.

Steps to Reproduce

-Create and authentication page -Use google authentication on android FF preview app

Reproducible from Blank

Bug Report Code (Required)

ITESlfLl8Y9gru5I1pDcKsJqhQAkH1x/bZJEl9dTTREYJbbxEYoQf+r+VHhCTcOefG1UGlajuEUE7tLmuOPPE/oEGw+qeINozZNUTgnwfEyiRpC7Dc+RPEZ8DcFhfmXG0KWC2BBQGNVaLHA5w1r/cq3qNleeY8aSfxBlZ7vfcPo=

Context

I use email and password as my authentication providers, and it always works, but with google it doesn't because of that error.

Visual documentation

Screenshot_20240505_092714

Additional Info

https://community.flutterflow.io/ask-the-community/post/google-sign-in-issue-in-ff-preview-app-on-android-43yhIlOleO3Xpef Here's another guy that reported the problem in the community page, same exact problem.

Environment

- FlutterFlow version: 4.1.47
- Platform: Android
- Browser name and version: FF preview 0.0.3
- Operating system and version affected: Android 14

General

Relative to the time the changes were made, data was lost within

When following my steps to reproduce, data loss happens

ignalauret commented 1 week ago

Hey @Doli05 thanks for your report. Could you explain again how are you running the app to see this behaviour? You say Preview on Android, but the preview or test modes don't run on a physical device. We tried the Local Run on an Android device, but the Google Authentication is working correctly.
Please let me know how are you running the app so we can try to replicate it. Have a great day!

github-actions[bot] commented 4 days ago

This issue is stale because it has been open for 7 days with no activity. If there are no further updates, a team member will close the issue.

ignalauret commented 4 days ago

Closing this issue since we haven't heard back from you. If you are still facing the problem please submit a new issue. Have a great day!