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

# Trusted Auth Tokens

> Trusted Auth Tokens for the IdentityProvider component

If your project is using [Trusted Auth Tokens](/consumer-auth/authentication/trusted-auth-tokens/overview), they can be provided to the component as well. When `trustedAuthTokenParams` are supplied, the component will exchange the provided token for a session and automatically log the user in before starting the authorization flow.

To see all authentication and customization options, see the [UI configuration props](./configuration).

<Panel>
  <CodeGroup>
    ```jsx theme={null}
    import { IdentityProvider } from '@stytch/nextjs';

    const presentation = { theme: { 'font-family': 'Arial' } };

    const trustedAuthTokenParams = {
      trustedAuthToken: 'eyJ...',
      tokenProfileID: 'token-profile-id',
    };

    const IdentityProviderPage = () => {
      return <IdentityProvider presentation={presentation} trustedAuthTokenParams={trustedAuthTokenParams} />;
    };

    export default IdentityProviderPage;
    ```
  </CodeGroup>
</Panel>
