firebase / firebase-admin-go

Firebase Admin Go SDK
Apache License 2.0
1.13k stars 244 forks source link

FR: Enable anonymous authentication when creating and updating a tenant #411

Open sonatard opened 3 years ago

sonatard commented 3 years ago

It can solve to add enableAnonymousUser param to CreateTenant and UpdateTenant.

API

CreateTenant and UpdateTennant request body have Tenant.

https://cloud.google.com/identity-platform/docs/reference/rest/v2/projects.tenants/create https://cloud.google.com/identity-platform/docs/reference/rest/v2/projects.tenants/patch

Tenant type has enableAnonymousUser.

https://cloud.google.com/identity-platform/docs/reference/rest/v2/projects.tenants#Tenant

bojeil-google commented 3 years ago

We are already working on this. @rsgowman is leading that work in all the major languages:

https://github.com/firebase/firebase-admin-node/pull/802