Jacob Dedman
11/13/2025, 5:34 PMBhagyesh Parna
11/13/2025, 10:19 PMsessionStorage via customStorage, the React SDK uses that for your app logic, but the built-in widgets (like <UserProfile />) still read from the default Descope session storage (localStorage/cookie). That probably why they’re picking up a different/older token than the one you see in sessionStorage.
I’m checking internally whether there’s a supported way to have the widgets honor customStorage, or if the recommended pattern for multi-tenant React-Admin is a single Descope session per browser + per-tab currentTenant handled in app state/backend auth.
Docs with some more info:
• https://docs.descope.com/client-sdk/descope-components
• https://docs.descope.com/management/tenant-management