Itay Wolfish
10/05/2025, 9:58 AMdct claim
Under session management dct claim is used inorder to set a state for which tenant the current authenticated users is working against.
I would like to understand if there is a best practice for tenant switching and changing the dct claim (We are working with NextJS for FE and BE and also some nodejs based api's that use the descope node sdk )
And what is the practice for tenant selection and switching for JWT exchanged by access keys? Today we require users to provide the tenant id they would like to "work" against and upon validation of the JWT we check if they are members of that tenant (Along with other authz validations, and thats mostly done in our backend using the descope node sdk)Meir Wahnon
10/05/2025, 10:01 AMItay Wolfish
10/05/2025, 10:04 AMMeir Wahnon
10/05/2025, 10:51 AMItay Wolfish
10/05/2025, 11:04 AMMeir Wahnon
10/05/2025, 11:14 AMMeir Wahnon
10/05/2025, 11:14 AMItay Wolfish
10/05/2025, 12:46 PM