Sign in while using tenant with FlutterFlow

Database & APIs

Hello everyone,

I am building an app where I will have classic users and pro users (with a different app but with the same database because it will use almost same data).

However, for the authentication. I want to isolate it to the type of user (users or unions in my case). I have created the tenants on google cloud for a multi-tenancy system, but I do not understand how I can implement it in Flutterflow.

I was thinking about using custom actions instead of the classic login in order to use the tenant-id. But i struggle to do it...

How can I do it ?

What have you tried so far?

I have tried to create multiple database one user and one union.
However, the problem is you cannot use the same email to be a user and a union at the same time because it is using only one tenant (The authentication menu in firebase)..

Did you check FlutterFlow's Documentation for this topic?
Yes
3
4 replies