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 ( |
Fields | |
---|---|
name |
The name of the OAuthIdpConfig resource, for example: 'projects/my-awesome-project/oauthIdpConfigs/oauth-config-id'. Ignored during create requests. |
client |
The client id of an OAuth client. |
issuer |
For OIDC Idps, the issuer identifier. |
display |
The config's display name set by developers. |
enabled |
True if allows the user to sign in with the provider. |
client |
The client secret of the OAuth client, to enable OIDC code flow. |
response |
The response type to request for in the OAuth authorization flow. You can set either |
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.
See https://openid.net/specs/openid-connect-core-1_0.html#Authentication for a mapping of response type to OAuth 2.0 flow.
JSON representation |
---|
{ "idToken": boolean, "code": boolean, "token": boolean } |
Fields | |
---|---|
id |
If true, ID token is returned from IdP's authorization endpoint. |
code |
If true, authorization code is returned from IdP's authorization endpoint. |
token |
Do not use. The |
Methods |
|
---|---|
|
Create an Oidc Idp configuration for an Identity Toolkit project. |
|
Delete an Oidc Idp configuration for an Identity Toolkit project. |
|
Retrieve an Oidc Idp configuration for an Identity Toolkit project. |
|
List all Oidc Idp configurations for an Identity Toolkit project. |
|
Update an Oidc Idp configuration for an Identity Toolkit project. |