CreateIdentityProviderRequest
import type { CreateIdentityProviderRequest } from "https://aws-api.deno.dev/v0.3/services/cognitoidentityserviceprovider.ts?docs=full";
interface CreateIdentityProviderRequest {
AttributeMapping?: {} | null;
[key: string]: string | null | undefined;
IdpIdentifiers?: string[] | null;
ProviderDetails: {};
[key: string]: string | null | undefined;
ProviderName: string;
ProviderType: IdentityProviderTypeType;
UserPoolId: string;
}§Properties
§
AttributeMapping?: {} | null
[src][key: string]: string | null | undefined;
A mapping of identity provider attributes to standard and custom user pool attributes.
§
ProviderDetails: {}
[src][key: string]: string | null | undefined;
The identity provider details. The following list describes the provider detail keys for each identity provider type.
- For Google and Login with Amazon:
- client_id
- client_secret
- authorize_scopes
- For Facebook:
- client_id
- client_secret
- authorize_scopes
- api_version
- 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
- For SAML providers:
- MetadataFile OR MetadataURL
- IDPSignout optional
§
ProviderType: IdentityProviderTypeType
[src]The identity provider type.