We have been developing a SaaS for a while.
We decided to use Google Cloud Identity Platform to handle multi-tenant authentication, and firestore as our main database, but I have some doubts.
Can I use Identity Platform with multiple domains and subdomains?
This question comes to mind because in the application I will allow my clients to connect their custom domain in addition to a free subdomain, for example:
Client1 will have client1.com and client1.myapp.com
Client2 will have client2.com and client2.myapp.com
However, I would like to know if I can use the identity platform in that way and if it is possible.
I would also like to know if it is possible to perform the same task but with firestore, so that my clients can obtain data from a single firestore database from multiple domains and subdomains.
It should be noted that we already have the mechanism configured to host multiple domains on our custom servers, we simply want to integrate firestore and identity platform.