Hi everyone,
I'm experiencing a common issue where, after adding the "Create Account" action in FlutterFlow, and then creating a new user on the login page, no user document is created in the user collection, and there's no navigation to the next page. However, in my case, I encounter an unusual error message that I haven't seen in the FlutterFlow community or on GitHub before.
Problem:
Error Message: "API keys are not supported by this API. Expected OAuth2 access token or other authentication credentials that assert a principal."
Details: It appears that the client-server communication is failing.
Steps Taken So Far:
I've already posted about this issue in another community post here https://community.flutterflow.io/ask-the-community/post/authentication-problems-no-site-navigation-no-user-document-written--roRT7khZZwxddn9
Upon further investigation, I discovered that the 401 error message is the root cause, indicating an authentication issue between my FlutterFlow app and Firebase.