> ## 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.

# Farcaster

## Configuration

[https://scribehow.com/embed/Set\_Up\_User\_Sign-up\_with\_Email\_and\_Social\_Providers\_\_4A6KU9InTwWkASGkW5FSRg](https://scribehow.com/embed/Set_Up_User_Sign-up_with_Email_and_Social_Providers__4A6KU9InTwWkASGkW5FSRg)

## User Values

We map the Farcaster values returned to the standard oauth user values (found in [verified Credentials](https://docs.dynamic.xyz/docs/react/reference/objects/verified-credential.md)):

```typescript theme={"system"}
 {
  id: string; // Unique ID (Dynamic)
  publicIdentifier: string; // Farcaster username
  oauthAccountId: string; // Farcaster ID
  oauthProvider: ProviderEnum; // "farcaster"
  oauthAccountPhotos?: []string; // Farcaster PFP URLs
  oauthDisplayName?: string; // name if provided
  oauthUsername?: string; // Farcaster username
};
```

To get this information, you can use the `user` object returned from the [`useDynamicContext` hook](https://docs.dynamic.xyz/docs/react/reference/hooks/usedynamiccontext) i.e.

```typescript theme={"system"}
import { useDynamicContext } from '@dynamic-labs/sdk-react-core';
const { user } = useDynamicContext();

if (user) {
  console.log(user.verifiedCredentials);
}
```

You can then use this information to create enhanced experiences within your app!


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