> ## Documentation Index
> Fetch the complete documentation index at: https://dynamic-docs-feat-sidebar-revamp.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Social Authentication

<Warning>
  This feature requires you set up the deeplink URLs whitelist for your Dynamic
  app. See [here](/flutter/deeplink-urls).
</Warning>

The dynamic client authentication module enables social authentication.

## Connecting to your users' social accounts

<Note>
  Notice that all social options you use in code **must be respectively
  enabled** in your environment's dashboard settings first!
</Note>

You can prompt a user to connect their social accounts with the `connect` method in our social module.
It returns a promise that resolves with no params on success, and rejects on failure.

Here's how you can connect a user's farcaster account, for example:

```dart
OutlinedButton(
    onPressed: () async =>
        await DynamicSDK.instance.auth.social.connect(
        provider: SocialProvider.farcaster,
        redirectPathname: '/login_screen',
    ),
    child: const Text(
        'Continue with Farcaster',
    ),
)
```

See [here](/react-sdk/objects/social-provider) for a list of all our supported social providers —
it will be the same list you see in your dashboard.

<Info>
  Not only can this method be used to sign a user in, but it is also able to
  link a social account to an already signed in user.
</Info>

## Adjusting app name in social connection dialogues

Social connection dialogues will derive the name of your app from the `appName` prop you used to initialize your client — read [here](/flutter/package-references/client#clientprops).

So in order for your app's name to be displayed correctly to your user when they are connecting their social accounts,
you need to provide this prop.

You can read more about the social module [here](/flutter/package-references/client#auth-social-submodule).
