- NAME
-
- gcloud alpha firebase auth providers enable - enable and configure Google Sign-In for Firebase Authentication
- SYNOPSIS
-
-
gcloud alpha firebase auth providers enable--app=APP(--client-id=CLIENT_ID--client-secret=CLIENT_SECRET|--display-name=DISPLAY_NAME--support-email=SUPPORT_EMAIL) [--redirect-uris=[URI,…]] [GCLOUD_WIDE_FLAG …]
-
- DESCRIPTION
-
(ALPHA)Enable and configure Google Sign-In for Firebase Authentication. - EXAMPLES
-
To enable Google Sign-In with a new brand:
gcloud alpha firebase auth providers enable --app=1:123:web:abc --display-name="My App" --support-email=support@example.comTo enable Google Sign-In with an existing OAuth client:
gcloud alpha firebase auth providers enable --app=1:123:web:abc --client-id=CLIENT_ID --client-secret=CLIENT_SECRET - REQUIRED FLAGS
-
--app=APP- The Firebase App ID to use.
-
OAuth configuration for Google Sign-In.
Exactly one of these must be specified:
- Client configuration (for using an existing OAuth client):
--client-id=CLIENT_ID-
The OAuth client ID (Google provider only, for existing client).
This flag argument must be specified if any of the other arguments in this group are specified.
--client-secret=CLIENT_SECRET-
The OAuth client secret (Google provider only, for existing client).
This flag argument must be specified if any of the other arguments in this group are specified.
- Brand configuration (for creating a new brand):
--display-name=DISPLAY_NAME-
The public display name for the OAuth brand (Google provider only).
This flag argument must be specified if any of the other arguments in this group are specified.
--support-email=SUPPORT_EMAIL-
The customer support email for the OAuth brand (Google provider only).
This flag argument must be specified if any of the other arguments in this group are specified.
- OPTIONAL FLAGS
-
--redirect-uris=[URI,…]- Authorized redirect URIs (Google provider only).
- GCLOUD WIDE FLAGS
-
These flags are available to all commands:
--access-token-file,--account,--billing-project,--configuration,--flags-file,--flatten,--format,--help,--impersonate-service-account,--log-http,--project,--quiet,--trace-token,--user-output-enabled,--verbosity.Run
$ gcloud helpfor details. - NOTES
- This command is currently in alpha and might change without notice. If this command fails with API permission errors despite specifying the correct project, you might be trying to access an API with an invitation-only early access allowlist.
gcloud alpha firebase auth providers enable
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-10-06 UTC.