oci_identity_domains_social_identity_provider

This resource provides the Social Identity Provider resource in Oracle Cloud Infrastructure Identity Domains service.

Create a Social Identity Provider

Example Usage

resource "oci_identity_domains_social_identity_provider" "test_social_identity_provider" {
	#Required
	account_linking_enabled = var.social_identity_provider_account_linking_enabled
	consumer_key = var.social_identity_provider_consumer_key
	consumer_secret = var.social_identity_provider_consumer_secret
	enabled = var.social_identity_provider_enabled
	idcs_endpoint = data.oci_identity_domain.test_domain.url
	name = var.social_identity_provider_name
	registration_enabled = var.social_identity_provider_registration_enabled
	schemas = ["urn:ietf:params:scim:schemas:oracle:idcs:SocialIdentityProvider"]
	service_provider_name = var.social_identity_provider_service_provider_name
	show_on_login = var.social_identity_provider_show_on_login

	#Optional
	access_token_url = var.social_identity_provider_access_token_url
	admin_scope = var.social_identity_provider_admin_scope
	authorization = var.social_identity_provider_authorization
	authz_url = var.social_identity_provider_authz_url
	auto_redirect_enabled = var.social_identity_provider_auto_redirect_enabled
	client_credential_in_payload = var.social_identity_provider_client_credential_in_payload
	clock_skew_in_seconds = var.social_identity_provider_clock_skew_in_seconds
	description = var.social_identity_provider_description
	discovery_url = var.social_identity_provider_discovery_url
	icon_url = var.social_identity_provider_icon_url
	id_attribute = var.social_identity_provider_id_attribute
	jit_prov_assigned_groups {
		#Required
		value = var.social_identity_provider_jit_prov_assigned_groups_value
	}
	jit_prov_group_static_list_enabled = var.social_identity_provider_jit_prov_group_static_list_enabled
	ocid = var.social_identity_provider_ocid
	profile_url = var.social_identity_provider_profile_url
	redirect_url = var.social_identity_provider_redirect_url
	refresh_token_url = var.social_identity_provider_refresh_token_url
	relay_idp_param_mappings {
		#Required
		relay_param_key = var.social_identity_provider_relay_idp_param_mappings_relay_param_key

		#Optional
		relay_param_value = var.social_identity_provider_relay_idp_param_mappings_relay_param_value
	}
	resource_type_schema_version = var.social_identity_provider_resource_type_schema_version
	scope = var.social_identity_provider_scope
	social_jit_provisioning_enabled = var.social_identity_provider_social_jit_provisioning_enabled
	status = var.social_identity_provider_status
	tags {
		#Required
		key = var.social_identity_provider_tags_key
		value = var.social_identity_provider_tags_value
	}
}

Argument Reference

The following arguments are supported:

** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

Attributes Reference

The following attributes are exported:

Timeouts

The timeouts block allows you to specify timeouts for certain operations: * create - (Defaults to 20 minutes), when creating the Social Identity Provider * update - (Defaults to 20 minutes), when updating the Social Identity Provider * delete - (Defaults to 20 minutes), when destroying the Social Identity Provider

Import

SocialIdentityProviders can be imported using the id, e.g.

$ terraform import oci_identity_domains_social_identity_provider.test_social_identity_provider "idcsEndpoint/{idcsEndpoint}/socialIdentityProviders/{socialIdentityProviderId}"