Skip to content

Google Sign In Returning Disallowed User Agent On Android #7023

@MartinLockheart

Description

@MartinLockheart

Can we access your project?

  • I give permission for members of the FlutterFlow team to access and test my project for the sole purpose of investigating this issue.

Current Behavior

I have several Android users who are getting the following error when they attempt to use sign in using Flutterflow's base Google Sign In + Firebase integration.

"[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."

After doing a bit of research, the only thing I can find is that the Google Sign In package that Flutterflow uses is deprecated and it defaults to using a now-unsupported embedded webview on some android devices.

If that's correct, then this is a serious issue. If not, please let me know what I need to be doing differently. I have checked all of my Firebase and Google Play setup, I have looked through the documentation, and I can't find anything that I'm missing.

Google Auth is the primary way users authenticate in some of my apps. Please let me know if there's a workaround for this issue or something I can tell my clients. If there's not a workaround, and if this is an issue with the package, please tell me how soon Flutterflow will have this fixed.

Expected Behavior

My users should be able to authenticate with Flutterflow's Google Sign In package consistently across platforms.

Steps to Reproduce

  1. Use Firebase Google Sign In functionality
  2. Try to auth on a (presumably) older android device
  3. Get the error because an older Google Sign In package is being used by Flutterflow

Reproducible from Blank

  • The steps to reproduce above start from a blank project.

Bug Report Code (Required)

ITEehcrl7ZN1pbxe1qn6Ye5FnQMwJ0QlUIInj+0bWRMhfL70POwQPvf4Q1pLYte7eVFqI1qioFoe/t7mitj2FfVdAEisbr5IyK5XQQvMWmqmaYvQDKjhdEd8TJhgIHau5rejkApSHPBfSk4k7VOQBPCNG3qCf9qOYwx5e6fDbOY=

Visual documentation

Image

Environment

- FlutterFlow version: 6.6.23
- Platform: Windows/Web
- Browser name and version: Firefox/Chrome
- Operating system and version affected: Windows 11

Additional Information

If this issue is what it seems to be, then this is breaking accessibility to my app for a substantial portion of my users, and there's nothing I can do about it because I'm using Flutterflow's built-in functionality.

Metadata

Metadata

Assignees

Labels

status: needs informationMore information/context is needed for assessment.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions