Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update firebase_admin/_auth_utils.py
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
  • Loading branch information
KetanHegde and gemini-code-assist[bot] authored Jul 14, 2026
commit d4237cbb43008e361777dee3be81202c0bb8cd06
2 changes: 2 additions & 0 deletions firebase_admin/_auth_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,8 @@ def get_emulator_host():

def get_tenant_emulator_host():
emulator_host = os.getenv(TENANT_EMULATOR_HOST_ENV_VAR, '')
if not emulator_host:
emulator_host = get_emulator_host()
if emulator_host and '//' in emulator_host:
raise ValueError(
f'Invalid {TENANT_EMULATOR_HOST_ENV_VAR}: "{emulator_host}". '
Expand Down