1. Packages
  2. Google Cloud Native
  3. API Docs
  4. identitytoolkit
  5. identitytoolkit/v2
  6. getOauthIdpConfig

Google Cloud Native is in preview. Google Cloud Classic is fully supported.

Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi

google-native.identitytoolkit/v2.getOauthIdpConfig

Explore with Pulumi AI

google-native logo

Google Cloud Native is in preview. Google Cloud Classic is fully supported.

Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi

    Retrieve an Oidc Idp configuration for an Identity Toolkit project.

    Using getOauthIdpConfig

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getOauthIdpConfig(args: GetOauthIdpConfigArgs, opts?: InvokeOptions): Promise<GetOauthIdpConfigResult>
    function getOauthIdpConfigOutput(args: GetOauthIdpConfigOutputArgs, opts?: InvokeOptions): Output<GetOauthIdpConfigResult>
    def get_oauth_idp_config(oauth_idp_config_id: Optional[str] = None,
                             project: Optional[str] = None,
                             tenant_id: Optional[str] = None,
                             opts: Optional[InvokeOptions] = None) -> GetOauthIdpConfigResult
    def get_oauth_idp_config_output(oauth_idp_config_id: Optional[pulumi.Input[str]] = None,
                             project: Optional[pulumi.Input[str]] = None,
                             tenant_id: Optional[pulumi.Input[str]] = None,
                             opts: Optional[InvokeOptions] = None) -> Output[GetOauthIdpConfigResult]
    func LookupOauthIdpConfig(ctx *Context, args *LookupOauthIdpConfigArgs, opts ...InvokeOption) (*LookupOauthIdpConfigResult, error)
    func LookupOauthIdpConfigOutput(ctx *Context, args *LookupOauthIdpConfigOutputArgs, opts ...InvokeOption) LookupOauthIdpConfigResultOutput

    > Note: This function is named LookupOauthIdpConfig in the Go SDK.

    public static class GetOauthIdpConfig 
    {
        public static Task<GetOauthIdpConfigResult> InvokeAsync(GetOauthIdpConfigArgs args, InvokeOptions? opts = null)
        public static Output<GetOauthIdpConfigResult> Invoke(GetOauthIdpConfigInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetOauthIdpConfigResult> getOauthIdpConfig(GetOauthIdpConfigArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: google-native:identitytoolkit/v2:getOauthIdpConfig
      arguments:
        # arguments dictionary

    The following arguments are supported:

    OauthIdpConfigId string
    TenantId string
    Project string
    OauthIdpConfigId string
    TenantId string
    Project string
    oauthIdpConfigId String
    tenantId String
    project String
    oauthIdpConfigId string
    tenantId string
    project string
    oauthIdpConfigId String
    tenantId String
    project String

    getOauthIdpConfig Result

    The following output properties are available:

    ClientId string
    The client id of an OAuth client.
    ClientSecret string
    The client secret of the OAuth client, to enable OIDC code flow.
    DisplayName string
    The config's display name set by developers.
    Enabled bool
    True if allows the user to sign in with the provider.
    Issuer string
    For OIDC Idps, the issuer identifier.
    Name string
    The name of the OAuthIdpConfig resource, for example: 'projects/my-awesome-project/oauthIdpConfigs/oauth-config-id'. Ignored during create requests.
    ResponseType Pulumi.GoogleNative.IdentityToolkit.V2.Outputs.GoogleCloudIdentitytoolkitAdminV2OAuthResponseTypeResponse
    The response type to request for in the OAuth authorization flow. You can set either id_token or code to true, but not both. Setting both types to be simultaneously true ({code: true, id_token: true}) is not yet supported.
    ClientId string
    The client id of an OAuth client.
    ClientSecret string
    The client secret of the OAuth client, to enable OIDC code flow.
    DisplayName string
    The config's display name set by developers.
    Enabled bool
    True if allows the user to sign in with the provider.
    Issuer string
    For OIDC Idps, the issuer identifier.
    Name string
    The name of the OAuthIdpConfig resource, for example: 'projects/my-awesome-project/oauthIdpConfigs/oauth-config-id'. Ignored during create requests.
    ResponseType GoogleCloudIdentitytoolkitAdminV2OAuthResponseTypeResponse
    The response type to request for in the OAuth authorization flow. You can set either id_token or code to true, but not both. Setting both types to be simultaneously true ({code: true, id_token: true}) is not yet supported.
    clientId String
    The client id of an OAuth client.
    clientSecret String
    The client secret of the OAuth client, to enable OIDC code flow.
    displayName String
    The config's display name set by developers.
    enabled Boolean
    True if allows the user to sign in with the provider.
    issuer String
    For OIDC Idps, the issuer identifier.
    name String
    The name of the OAuthIdpConfig resource, for example: 'projects/my-awesome-project/oauthIdpConfigs/oauth-config-id'. Ignored during create requests.
    responseType GoogleCloudIdentitytoolkitAdminV2OAuthResponseTypeResponse
    The response type to request for in the OAuth authorization flow. You can set either id_token or code to true, but not both. Setting both types to be simultaneously true ({code: true, id_token: true}) is not yet supported.
    clientId string
    The client id of an OAuth client.
    clientSecret string
    The client secret of the OAuth client, to enable OIDC code flow.
    displayName string
    The config's display name set by developers.
    enabled boolean
    True if allows the user to sign in with the provider.
    issuer string
    For OIDC Idps, the issuer identifier.
    name string
    The name of the OAuthIdpConfig resource, for example: 'projects/my-awesome-project/oauthIdpConfigs/oauth-config-id'. Ignored during create requests.
    responseType GoogleCloudIdentitytoolkitAdminV2OAuthResponseTypeResponse
    The response type to request for in the OAuth authorization flow. You can set either id_token or code to true, but not both. Setting both types to be simultaneously true ({code: true, id_token: true}) is not yet supported.
    client_id str
    The client id of an OAuth client.
    client_secret str
    The client secret of the OAuth client, to enable OIDC code flow.
    display_name str
    The config's display name set by developers.
    enabled bool
    True if allows the user to sign in with the provider.
    issuer str
    For OIDC Idps, the issuer identifier.
    name str
    The name of the OAuthIdpConfig resource, for example: 'projects/my-awesome-project/oauthIdpConfigs/oauth-config-id'. Ignored during create requests.
    response_type GoogleCloudIdentitytoolkitAdminV2OAuthResponseTypeResponse
    The response type to request for in the OAuth authorization flow. You can set either id_token or code to true, but not both. Setting both types to be simultaneously true ({code: true, id_token: true}) is not yet supported.
    clientId String
    The client id of an OAuth client.
    clientSecret String
    The client secret of the OAuth client, to enable OIDC code flow.
    displayName String
    The config's display name set by developers.
    enabled Boolean
    True if allows the user to sign in with the provider.
    issuer String
    For OIDC Idps, the issuer identifier.
    name String
    The name of the OAuthIdpConfig resource, for example: 'projects/my-awesome-project/oauthIdpConfigs/oauth-config-id'. Ignored during create requests.
    responseType Property Map
    The response type to request for in the OAuth authorization flow. You can set either id_token or code to true, but not both. Setting both types to be simultaneously true ({code: true, id_token: true}) is not yet supported.

    Supporting Types

    GoogleCloudIdentitytoolkitAdminV2OAuthResponseTypeResponse

    Code bool
    If true, authorization code is returned from IdP's authorization endpoint.
    IdToken bool
    If true, ID token is returned from IdP's authorization endpoint.
    Token bool
    Do not use. The token response type is not supported at the moment.
    Code bool
    If true, authorization code is returned from IdP's authorization endpoint.
    IdToken bool
    If true, ID token is returned from IdP's authorization endpoint.
    Token bool
    Do not use. The token response type is not supported at the moment.
    code Boolean
    If true, authorization code is returned from IdP's authorization endpoint.
    idToken Boolean
    If true, ID token is returned from IdP's authorization endpoint.
    token Boolean
    Do not use. The token response type is not supported at the moment.
    code boolean
    If true, authorization code is returned from IdP's authorization endpoint.
    idToken boolean
    If true, ID token is returned from IdP's authorization endpoint.
    token boolean
    Do not use. The token response type is not supported at the moment.
    code bool
    If true, authorization code is returned from IdP's authorization endpoint.
    id_token bool
    If true, ID token is returned from IdP's authorization endpoint.
    token bool
    Do not use. The token response type is not supported at the moment.
    code Boolean
    If true, authorization code is returned from IdP's authorization endpoint.
    idToken Boolean
    If true, ID token is returned from IdP's authorization endpoint.
    token Boolean
    Do not use. The token response type is not supported at the moment.

    Package Details

    Repository
    Google Cloud Native pulumi/pulumi-google-native
    License
    Apache-2.0
    google-native logo

    Google Cloud Native is in preview. Google Cloud Classic is fully supported.

    Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi