REST Resource: projects.tenants.oauthIdpConfigs

Resource: OAuthIdpConfig

Configuration options for authenticating with an OAuth IDP.

JSON representation
{
  "name": string,
  "clientId": string,
  "issuer": string,
  "displayName": string,
  "enabled": boolean,
  "clientSecret": string,
  "responseType": {
    object (OAuthResponseType)
  }
}
Fields
name

string

The name of the OAuthIdpConfig resource, for example: 'projects/my-awesome-project/oauthIdpConfigs/oauth-config-id'. Ignored during create requests.

clientId

string

The client id of an OAuth client.

issuer

string

For OIDC Idps, the issuer identifier.

displayName

string

The config's display name set by developers.

enabled

boolean

True if allows the user to sign in with the provider.

clientSecret

string

The client secret of the OAuth client, to enable OIDC code flow.

responseType

object (OAuthResponseType)

The response type to request for in the OAuth authorization flow. You can set either idToken or code to true, but not both. Setting both types to be simultaneously true ({code: true, idToken: true}) is not yet supported.

Methods

create

Create an Oidc Idp configuration for an Identity Toolkit project.

delete

Delete an Oidc Idp configuration for an Identity Toolkit project.

get

Retrieve an Oidc Idp configuration for an Identity Toolkit project.

list

List all Oidc Idp configurations for an Identity Toolkit project.

patch

Update an Oidc Idp configuration for an Identity Toolkit project.