From f0b87937ceb6580dc546b631546a6f1c89895a57 Mon Sep 17 00:00:00 2001 From: aalej Date: Fri, 12 Jan 2024 18:43:49 +0800 Subject: [PATCH 1/2] Fixes issue where Auth emulator sign in with Google only shows default tenants --- src/emulator/auth/handlers.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/emulator/auth/handlers.ts b/src/emulator/auth/handlers.ts index 17ceb8482f9..979cc474f97 100644 --- a/src/emulator/auth/handlers.ts +++ b/src/emulator/auth/handlers.ts @@ -172,7 +172,7 @@ export function registerHandlers( res.set("Content-Type", "text/html; charset=utf-8"); const apiKey = req.query.apiKey as string | undefined; const providerId = req.query.providerId as string | undefined; - const tenantId = req.query.tenantId as string | undefined; + const tenantId = (req.query.tenantId || req.query.tid) as string | undefined; if (!apiKey || !providerId) { return res.status(400).json({ authEmulator: { From 7230525ae5277ca1785022e9b8c974af8ae36aa1 Mon Sep 17 00:00:00 2001 From: aalej Date: Fri, 12 Jan 2024 19:28:51 +0800 Subject: [PATCH 2/2] Fixes issue where Auth emulator sign in with Google only shows default tenants --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index e69de29bb2d..a7a04b83173 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -0,0 +1 @@ +- Fixed issue where Auth emulator sign in with Google only shows default tenant. (#6683)