Adam Darlow
12/01/2025, 8:16 PMRahul Rijhwani
12/02/2025, 6:09 AMform prop in the Descope React component to pass the tenant ID:
<Descope
flowId="generate-sso-config-link"
tenant=<tenantId>
/>
Alternatively, if you're embedding the SSO Setup Suite directly (not through a flow), you can pass the tenantId as a query parameter in the iframe URL:
<iframe
src="https://api.descope.com/sso/setup?tenantId=your-tenant-id"
width="100%"
height="600"
frameborder="0">
</iframe>
Note: If the JWT includes a dct claim, the selected tenant will automatically be picked up and the query parameter is unnecessary. If you need to change the tenant without running through a flow, you can use the selectTenant function from the React SDK.
Doc: https://docs.descope.com/sso/sso-setup-suite-embed
https://github.com/descope/descope-js/blob/main/packages/sdks/react-sdk/README.md