FlutterFlow / flutterflow-issues

A community issue tracker for FlutterFlow.
125 stars 25 forks source link

Unable to connect to Firebase in FlutterFlow desktops apps. #2935

Open qbuchanan opened 5 months ago

qbuchanan commented 5 months ago

Has your issue been reported?

Current Behavior

When using the FlutterFlow desktop app, going to App Settings -> Firbase and clicking Create Project results in an Authorization Error 400 redirect_uri_mismatch on Mac OS, Windows, & iPad. (I have not checked to see if there is an android version).

Screenshot 2024-05-18 at 6 49 51 PM Screenshot 2024-05-18 at 6 47 27 PM

Note: The workflow works as expected when using Chrome on Win/Mac/Linux, but not the desktop apps.

Expected Behavior

The user should be able to log into firebase using their Google account and the URI should be matched and work as expected.

Steps to Reproduce

  1. Create a new project or select an existing template.
  2. Click on Settings & Integrations.
  3. Click on Firebase.
  4. Click on Create Project.
  5. Sign in to your Google Account.
  6. Look sad as you get an error page that says "Application Error: Error 400 redirect_uri_mismatch"

Reproducible from Blank

Bug Report Code (Required)

ITFTkMmAuJNJmP0G+KncKe5vpyoWI0McWOdEl+tuZwgbIoznBqQcYsnRdRNoZOniaVNcOFG0ozgepsnIjYSfVsECHy6Zc4RN1bluaxbOe2iVVa6bEc3hXHFTP8BTf0Ck15iOkBF7KttYLXwB72C6fOmyTXbDBOu/Zwh9f6PHaOI=

Context

I am trying to connect / create a Firebase project using the desktop application and it is a CRITICAL issues as I am unable to proceed. I will check and see if there is a way to supply my own project code and firebase config files for iOS and Android to proceed.

Visual documentation

Screenshot 2024-05-18 at 6 49 51 PM Screenshot 2024-05-18 at 6 47 27 PM

Additional Info

The Mac OS version yields an error, iPad returns with no error and does nothing, Windows displays blank sign in results dialog.

Environment

- FlutterFlow version: 4.1.53 (4.1.53)
- Platform: iOS, Windows, Mac OS X - project targeting Android and iOS
- Browser name and version: N/A. Desktop apps on iOS, Mac OS, and Windows.
- Operating system and version affected: Windows 10, OS X 13.6.5, iPad OS 16.2

General

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

When following my steps to reproduce, data loss happens

msusviela commented 5 months ago

I was able to reproduce the issue, I will send it to the ENG team so they can work on this!

snowboarder commented 3 months ago

As of July 21, I too had the same issue and the application crashed, web version worked though image

qbuchanan commented 3 months ago

any updates on when this will be fixed - it's now possible to work around this issue and setup everything manually and connect to an existing project where all of the required google services and configurations have been setup - added flutterflow to the users list, created firestore db, created auth with email login, created firebase storage - bit its a pain and can be confusing to make sure you have all the pieces setup correctly before clicking to connect to an existing project.