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

# Authenticate with Social

> [card] Recommended: JavaScript SDK for React Native
>
> While this SDK is still supported, we recommend using newer [JavaScript SDK](https://docs.dynamic.xyz/docs/javascript/reference/react-native-quickstart.md), which is optimized for React Native, but also comes with a host of other benefits.

#### Sign up with Social

Sign up/sign in with Apple, Discord, Facebook, Farcaster, Github, Google, Telegram, Twitch or Twitter!

Similar to email, you can toggle and configure each social provider in the [social providers section of the Dynamic Console](https://console.dynamic.xyz/dashboard/log-in-user-profile).

Configuration guides for individual social signup options can be found in [the social providers section of the docs](https://docs.dynamic.xyz/docs/platform/social-providers/overview.md).

React Native provides social authentication through the dynamic client's auth methods. You can use the Dynamic UI or customUI for social authentication with full account management capabilities.

> [!WARNING]
>
> Make sure you've setup your deeplink URLs correctly. See [here](https://docs.dynamic.xyz/docs/react-native/reference/deeplink-urls.md).

```ts React Native theme={"system"}
import { dynamicClient } from '<path to client file>';
import { ProviderEnum } from '@dynamic-labs/types';

// Using Dynamic UI to trigger social login
dynamicClient.ui.auth.show();

// social connect (example: Farcaster)
await dynamicClient.auth.social.connect({ provider: ProviderEnum.Farcaster });

// Check if a provider is linked
const isGoogleLinked = await dynamicClient.auth.social.isLinked(ProviderEnum.Google);

// Get all linked accounts for a specific provider
const googleAccounts = await dynamicClient.auth.social.getLinkedAccounts(ProviderEnum.Google);

// Get all linked accounts across all providers
const allAccounts = await dynamicClient.auth.social.getAllLinkedAccounts();

// Unlink a social account
await dynamicClient.auth.social.unlink(ProviderEnum.Google);
```

For a complete example with UI, see the [React Native social authentication guide](https://docs.dynamic.xyz/docs/react-native/reference/signup-login/social.md).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.