Switch Between Auth0 Domains and Clients with React Native SDK

Overview

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.

Applies To
  • Auth0 React Native SDK
Solution

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.plist file (for iOS) and the AndroidManifest.xml file (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.

Recommended content

No recommended content found...