Skip to content

docs(auth): add step to re-download google-services.json for Google S… - #2862

Merged
thatfiredev merged 2 commits into
firebase:masterfrom
dsrolly:docs-auth-google-services-json
Nov 30, 2026
Merged

thatfiredev merged 2 commits into
firebase:masterfrom
dsrolly:docs-auth-google-services-json

Conversation

@dsrolly

@dsrolly dsrolly commented Nov 28, 2026

Copy link
Copy Markdown
Contributor

What

Adds a step to the "Google Sign In Setup" section of the auth README: after enabling Google as a sign-in method, download the updated google-services.json and replace the old file in auth/app/.

Why

The Google services plugin generates default_web_client_id from the web OAuth client in google-services.json. That client is only included after Google sign-in is enabled. If someone downloaded the file before enabling it, the build can fail with Unresolved reference: default_web_client_id. The official Firebase docs for Google Sign-In on Android also say to download the updated config file after enabling the provider.

May help users who hit the problem described in #1555.

Changes

  • auth/README.md: one added bullet, no code changes.

…ign In

After enabling Google as a sign-in method, the updated google-services.json must be downloaded again. It contains the web OAuth client that the Google services plugin uses to generate default_web_client_id.
@google-cla

google-cla Bot commented Nov 28, 2026

Copy link
Copy Markdown

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request updates the auth/README.md file to include instructions for downloading and copying the updated google-services.json file. The review feedback suggests changing the destination path from auth/app/ to app/ to maintain consistency with other relative paths in the document.

Comment thread auth/README.md Resolved
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>

@thatfiredev thatfiredev left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @dsrolly !

@thatfiredev
thatfiredev merged commit 1876477 into firebase:master Nov 30, 2026
13 checks passed
@dsrolly
dsrolly deleted the docs-auth-google-services-json branch December 1, 2026 04:27
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.

2 participants