Prerequisites
Before this: create and initialize a Dynamic client (see Creating a Dynamic Client, Initializing the Dynamic Client).Usage
User data
When a user authenticates with a social provider, the user data is stored in theuser object.
If the social provider returns an email address, it will be added to the user’s emails list and can be used to authenticate with email.