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

<Frame>
  <iframe src="https://scribehow.com/embed/Set_Up_User_Sign-up_with_Email_and_Social_Providers__4A6KU9InTwWkASGkW5FSRg" width="100%" height="640" allowfullscreen frameborder="0" />
</Frame>

## User Values

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

```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](/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!
