Headless
Headless Social Login
This section shows you how to enable and implement social signup/login headlessly, using the Dynamic React SDK but without any of the UI components.
Prerequisites
You must have at least one social provider enabled in the dashboard. For instructions on how to do this, check out the configuring social providers section.
Implementation
You’ll use the useSocialAccounts
hook available from the sdk-react-core
package:
This hook comes with a method called signInWithSocialAccount
that you can utilize:
Was this page helpful?