Skip to content

Conversation

@stuartmorgan-g
Copy link
Collaborator

When I wrote the docs I thought that Firebase would always include a web OAuth client ID, but it appears that this is not always the case (e.g.,
https://stackoverflow.com/questions/55572583/google-services-json-missing-client-type-3) so this adds more docs about what is required for this to work correctly.

Also adds a note that a missing ID error could be due to incorrect gradle configuration, as that's not necessarily clear from the Firebase docs.

Fixes flutter/flutter#172073

Pre-Review Checklist

Footnotes

  1. Regular contributors who have demonstrated familiarity with the repository guidelines only need to comment if the PR is not auto-exempted by repo tooling. 2 3

When I wrote the docs I thought that Firebase would always include a
web OAuth client ID, but it appears that this is not always the case
(e.g.,
https://stackoverflow.com/questions/55572583/google-services-json-missing-client-type-3)
so this adds more docs about what is required for this to work
correctly.

Also adds a note that a missing ID error could be due to incorrect
gradle configuration, as that's not necessarily clear from the Firebase
docs.

Fixes flutter/flutter#172073
@stuartmorgan-g stuartmorgan-g force-pushed the sign-in-android-server-id-troubleshooting branch from 270363b to eaec1e1 Compare July 15, 2025 14:23
@stuartmorgan-g stuartmorgan-g added the triage-android Should be looked at in Android triage label Jul 23, 2025
@ash2moon ash2moon added the autosubmit Merge PR when tree becomes green via auto submit App label Jul 23, 2025
@auto-submit auto-submit bot merged commit 963550c into flutter:main Jul 23, 2025
78 checks passed
@stuartmorgan-g stuartmorgan-g deleted the sign-in-android-server-id-troubleshooting branch July 23, 2025 19:51
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Jul 24, 2025
github-merge-queue bot pushed a commit to flutter/flutter that referenced this pull request Jul 24, 2025
flutter/packages@9c85e5e...963550c

2025-07-23 [email protected] [google_sign_in] Add more
serverClientId info to README (flutter/packages#9629)
2025-07-23 [email protected] Roll Flutter from
ee0cc66 to afba7d7 (10 revisions) (flutter/packages#9665)
2025-07-23 [email protected] [camera_avfoundation]
Implementation swift migration - part 9 (flutter/packages#9645)
2025-07-22 [email protected] Roll Flutter from
70cdc0c to ee0cc66 (29 revisions) (flutter/packages#9662)

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-packages-flutter-autoroll
Please CC [email protected] on the revert to ensure that a
human
is aware of the problem.

To file a bug in Flutter:
https://github.com/flutter/flutter/issues/new/choose

To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
azatech pushed a commit to azatech/flutter that referenced this pull request Jul 28, 2025
flutter/packages@9c85e5e...963550c

2025-07-23 [email protected] [google_sign_in] Add more
serverClientId info to README (flutter/packages#9629)
2025-07-23 [email protected] Roll Flutter from
ee0cc66 to afba7d7 (10 revisions) (flutter/packages#9665)
2025-07-23 [email protected] [camera_avfoundation]
Implementation swift migration - part 9 (flutter/packages#9645)
2025-07-22 [email protected] Roll Flutter from
70cdc0c to ee0cc66 (29 revisions) (flutter/packages#9662)

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-packages-flutter-autoroll
Please CC [email protected] on the revert to ensure that a
human
is aware of the problem.

To file a bug in Flutter:
https://github.com/flutter/flutter/issues/new/choose

To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
vashworth pushed a commit to vashworth/packages that referenced this pull request Jul 30, 2025
When I wrote the docs I thought that Firebase would always include a web OAuth client ID, but it appears that this is not always the case (e.g.,
https://stackoverflow.com/questions/55572583/google-services-json-missing-client-type-3) so this adds more docs about what is required for this to work correctly.

Also adds a note that a missing ID error could be due to incorrect gradle configuration, as that's not necessarily clear from the Firebase docs.

Fixes flutter/flutter#172073

## Pre-Review Checklist

[^1]: Regular contributors who have demonstrated familiarity with the repository guidelines only need to comment if the PR is not auto-exempted by repo tooling.
ksokolovskyi pushed a commit to ksokolovskyi/flutter that referenced this pull request Aug 19, 2025
flutter/packages@9c85e5e...963550c

2025-07-23 [email protected] [google_sign_in] Add more
serverClientId info to README (flutter/packages#9629)
2025-07-23 [email protected] Roll Flutter from
ee0cc66 to afba7d7 (10 revisions) (flutter/packages#9665)
2025-07-23 [email protected] [camera_avfoundation]
Implementation swift migration - part 9 (flutter/packages#9645)
2025-07-22 [email protected] Roll Flutter from
70cdc0c to ee0cc66 (29 revisions) (flutter/packages#9662)

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-packages-flutter-autoroll
Please CC [email protected] on the revert to ensure that a
human
is aware of the problem.

To file a bug in Flutter:
https://github.com/flutter/flutter/issues/new/choose

To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
mboetger pushed a commit to mboetger/flutter that referenced this pull request Sep 18, 2025
flutter/packages@9c85e5e...963550c

2025-07-23 [email protected] [google_sign_in] Add more
serverClientId info to README (flutter/packages#9629)
2025-07-23 [email protected] Roll Flutter from
ee0cc66 to afba7d7 (10 revisions) (flutter/packages#9665)
2025-07-23 [email protected] [camera_avfoundation]
Implementation swift migration - part 9 (flutter/packages#9645)
2025-07-22 [email protected] Roll Flutter from
70cdc0c to ee0cc66 (29 revisions) (flutter/packages#9662)

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-packages-flutter-autoroll
Please CC [email protected] on the revert to ensure that a
human
is aware of the problem.

To file a bug in Flutter:
https://github.com/flutter/flutter/issues/new/choose

To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
korca0220 pushed a commit to korca0220/flutter that referenced this pull request Sep 22, 2025
flutter/packages@9c85e5e...963550c

2025-07-23 [email protected] [google_sign_in] Add more
serverClientId info to README (flutter/packages#9629)
2025-07-23 [email protected] Roll Flutter from
ee0cc66 to afba7d7 (10 revisions) (flutter/packages#9665)
2025-07-23 [email protected] [camera_avfoundation]
Implementation swift migration - part 9 (flutter/packages#9645)
2025-07-22 [email protected] Roll Flutter from
70cdc0c to ee0cc66 (29 revisions) (flutter/packages#9662)

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-packages-flutter-autoroll
Please CC [email protected] on the revert to ensure that a
human
is aware of the problem.

To file a bug in Flutter:
https://github.com/flutter/flutter/issues/new/choose

To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
lucaantonelli pushed a commit to lucaantonelli/flutter that referenced this pull request Nov 21, 2025
flutter/packages@9c85e5e...963550c

2025-07-23 [email protected] [google_sign_in] Add more
serverClientId info to README (flutter/packages#9629)
2025-07-23 [email protected] Roll Flutter from
ee0cc66 to afba7d7 (10 revisions) (flutter/packages#9665)
2025-07-23 [email protected] [camera_avfoundation]
Implementation swift migration - part 9 (flutter/packages#9645)
2025-07-22 [email protected] Roll Flutter from
70cdc0c to ee0cc66 (29 revisions) (flutter/packages#9662)

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-packages-flutter-autoroll
Please CC [email protected] on the revert to ensure that a
human
is aware of the problem.

To file a bug in Flutter:
https://github.com/flutter/flutter/issues/new/choose

To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

autosubmit Merge PR when tree becomes green via auto submit App p: google_sign_in platform-android triage-android Should be looked at in Android triage

Projects

None yet

Development

Successfully merging this pull request may close these issues.

google_sign_in 7.1.0 required serverClientId for Android

3 participants