Creates an identity provider for a user pool.
cognitoidentityprovider_create_identity_provider(UserPoolId,
ProviderName, ProviderType, ProviderDetails, AttributeMapping,
IdpIdentifiers)[required] The user pool ID.
[required] The identity provider name.
[required] The identity provider type.
[required] The identity provider details. The following list describes the provider detail keys for each identity provider type.
For Google, Facebook and Login with Amazon:
client\_id
client\_secret
authorize\_scopes
For Sign in with Apple:
client\_id
team\_id
key\_id
private\_key
authorize\_scopes
For OIDC providers:
client\_id
client\_secret
attributes\_request\_method
oidc\_issuer
authorize\_scopes
authorize\_url if not available from discovery URL specified by oidc\_issuer key
token\_url if not available from discovery URL specified by oidc\_issuer key
attributes\_url if not available from discovery URL specified by oidc\_issuer key
jwks\_uri if not available from discovery URL specified by oidc\_issuer key
authorize\_scopes
For SAML providers:
MetadataFile OR MetadataURL
IDPSignout optional
A mapping of identity provider attributes to standard and custom user pool attributes.
A list of identity provider identifiers.
svc$create_identity_provider(
UserPoolId = "string",
ProviderName = "string",
ProviderType = "SAML"|"Facebook"|"Google"|"LoginWithAmazon"|"SignInWithApple"|"OIDC",
ProviderDetails = list(
"string"
),
AttributeMapping = list(
"string"
),
IdpIdentifiers = list(
"string"
)
)