Skip to main content
For what cookie-based authentication is, how it works, and full dashboard setup steps, see Cookie-based authentication.

SDK configuration

Once your cookie domain is configured and DNS is validated, update the apiBaseUrl prop in DynamicContextProvider settings to point to your custom hostname:
<DynamicContextProvider
  settings={{
    apiBaseUrl: 'https://auth.example.io/api/v0',
    environmentId: DYNAMIC_ENVIRONMENT_ID,
    walletConnectors: [EthereumWalletConnectors],
  }}
>
  ...
</DynamicContextProvider>
Replace auth.example.io with the custom hostname you configured in the dashboard.