Represents an identity provider that integrates with Facebook Login.
import { UserPoolIdentityProviderFacebook } from 'aws-cdk-lib/aws-cognito';Or use the module namespace:
import * as cognito from 'aws-cdk-lib/aws-cognito';
// cognito.UserPoolIdentityProviderFacebookConfiguration passed to the constructor as UserPoolIdentityProviderFacebookProps.
clientIdRequiredstringThe client id recognized by Facebook APIs.
clientSecretRequiredstringThe client secret to be accompanied with clientId for Facebook to authenticate the client.
apiVersionOptionalstringThe Facebook API version to use.
Default: - to the oldest version supported by Facebook
scopesOptionalstring[]The list of Facebook permissions to obtain for getting access to the Facebook profile.
Default: [ public_profile ]
UserPoolIdentityProviderPropsuserPoolRequiredinherited from UserPoolIdentityProviderPropsIUserPoolThe user pool to which this construct provides identities.
attributeMappingOptionalinherited from UserPoolIdentityProviderPropsAttributeMappingMapping attributes from the identity provider to standard and custom attributes of the user pool.
Default: - no attribute mapping
Everything you need to know about Amazon Cognito on one page. HD quality, print-friendly.
Download Free Infographicaws-cognito