Switch Between Auth0 Domains and Clients with React Native SDK
This article provides an overview of how to use the Auth0 React Native Software Development Kit (SDK) to switch between multiple Auth0 domains and client IDs, which is supported in Auth0 React Native v4.
- Auth0 React Native SDK
Starting with Auth0 React Native SDK v4, the SDK supports switching between Auth0 tenants and client IDs at runtime.
-
To use this feature, add all tenants and client IDs to the
Info.plistfile (for iOS) and theAndroidManifest.xmlfile (for Android). -
When using Expo, add them as an array instead of a single domain and scheme pair.
More details on this configuration are available in the SDK documentation.