React
Linking and unlinking
At the end of this guide, the profile page will list every provider connected to the current user, offer a connect button for each provider that has not been linked yet, and let users disconnect existing identities.
This guide walks you through extending the existing profile controller and page to display social identities, building a SocialIdentitiesController for unlinking, and explaining the linking branch of the SocialAuthController callback that was deferred from the previous guide.
The guide covers:
- Loading the user's social identities on the profile page
- A connect button per available provider
- A disconnect form per linked identity
- A
SocialIdentitiesController.destroymethod with last-identity lockout - The linking branch of the
SocialAuthcallback that was deferred from the Sign in guide