Skip to content

Support the Database emulator without Google credentials - #1145

Merged
jeromegamez merged 3 commits into
8.xfrom
database-emulator-auth
Oct 2, 2026
Merged

jeromegamez merged 3 commits into
8.xfrom
database-emulator-auth

Conversation

@jeromegamez

Copy link
Copy Markdown
Member

Realtime Database emulator requests currently use the factory's OAuth-authenticated HTTP client, requiring Google credentials and a token exchange.

Use Bearer owner authentication for emulator requests instead. This allows reading and writing data and managing rules without Google credentials.

@codecov

codecov Bot commented Oct 2, 2026 •

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 0% with 7 lines in your changes missing coverage. Please review.
✅ All tests successful. No failed tests found.

Impacted file tree graph

@@             Coverage Diff              @@
##                8.x    #1145      +/-   ##
============================================
- Coverage     88.28%   88.12%   -0.16%     
- Complexity     1509     1511       +2     
============================================
  Files           157      157              
  Lines          4241     4244       +3     
============================================
- Hits           3744     3740       -4     
- Misses          497      504       +7     
Flag Coverage Δ Complexity Δ *Carryforward flag
emulator 38.98% <ø> (-0.06%) 1509.00 <ø> (ø) Carriedforward from a109ddb
grpc 1.65% <ø> (+<0.01%) 1509.00 <ø> (ø) Carriedforward from a109ddb
integration 72.73% <ø> (+0.04%) 1509.00 <ø> (ø) Carriedforward from a109ddb
unit 50.57% <0.00%> (-0.04%) 1511.00 <1.00> (+2.00) ⬇️

*This pull request uses carry forward flags. Click here to find out more.

@jeromegamez
jeromegamez merged commit e6135d1 into 8.x Oct 2, 2026
24 of 25 checks passed
@jeromegamez
jeromegamez deleted the database-emulator-auth branch October 2, 2026 23:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant