Method: projects.tenants.oauthIdpConfigs.create

Create an Oidc Idp configuration for an Identity Toolkit project.

HTTP request

POST https://identitytoolkit.googleapis.com/v2/{parent=projects/*/tenants/*}/oauthIdpConfigs

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

The parent resource name where the config to be created, for example: "projects/my-awesome-project"

Authorization requires the following IAM permission on the specified resource parent:

  • firebaseauth.configs.update

Query parameters

Parameters
oauthIdpConfigId

string

The id to use for this config.

Request body

The request body contains an instance of OAuthIdpConfig.

Response body

If successful, the response body contains a newly created instance of OAuthIdpConfig.

Authorization Scopes

Requires one of the following OAuth scopes:

  • https://www.googleapis.com/auth/identitytoolkit
  • https://www.googleapis.com/auth/firebase
  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.