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

If your project is using [Trusted Auth Tokens](/docs/multi-tenant-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 { B2BIdentityProvider } from '@stytch/nextjs/b2b';

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

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

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

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