firebase-php icon indicating copy to clipboard operation
firebase-php copied to clipboard

Create tenant programmatically

Open fideloper opened this issue 8 months ago • 4 comments

Describe the feature you would like to see

Hi!

I'm looking into gcloud / firebase for multi-tenancy on a b2b saas.

It looks like the admin sdk can create tenants, but I can't find that in this PHP sdk - is it possible and I'm just missing it?

(NodeJS examle): https://cloud.google.com/identity-platform/docs/multi-tenancy-managing-tenants#node.js

admin.auth().tenantManager().createTenant({displayName: 'myTenant1',...})
    .then(...)
    .catch(...)

Perhaps that has to be done via google cloud API?

Thanks!

fideloper avatar Nov 05 '23 14:11 fideloper