File tree Expand file tree Collapse file tree 2 files changed +15
-0
lines changed Expand file tree Collapse file tree 2 files changed +15
-0
lines changed Original file line number Diff line number Diff line change 1717 */
1818 'projects ' => [
1919 'app ' => [
20+
21+ /**
22+ * ------------------------------------------------------------------------
23+ * Firebase Authentication
24+ * ------------------------------------------------------------------------
25+ */
26+
27+ 'authentication ' => [
28+ 'tenant_id ' => env ('FIREBASE_TENANT_ID ' ),
29+ ],
30+
2031 /*
2132 * ------------------------------------------------------------------------
2233 * Credentials / Service Account
Original file line number Diff line number Diff line change @@ -61,6 +61,10 @@ protected function configure(string $name): FirebaseProject
6161
6262 $ config = $ this ->configuration ($ name );
6363
64+ if ($ tenantId = $ config ['authentication ' ]['tenant_id ' ] ?? null ) {
65+ $ factory = $ factory ->withTenantId ($ tenantId );
66+ }
67+
6468 if ($ credentials = $ config ['credentials ' ]['file ' ] ?? null ) {
6569 $ resolvedCredentials = $ this ->resolveCredentials ((string ) $ credentials );
6670
You can’t perform that action at this time.
0 commit comments