Skip to main content

Recommended: JavaScript SDK for React Native

While this SDK is still supported, we recommend using newer JavaScript SDK, which is optimized for React Native, but also comes with a host of other benefits.
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, pass apiBaseUrl when creating the client to point to your custom hostname:
Replace auth.example.io with the custom hostname you configured in the dashboard.
Last modified on July 24, 2026