Embedding SSO Setup Suite
The SSO Setup Suite can be embedded directly within your application using an iframe, providing a seamless experience for your users to configure SSO settings without leaving your app.
Implementation
To embed the SSO Setup Suite, use an iframe with the SSO Suite URL. No authentication token is required in the URL itself - just use the base link without any token parameters.
Authentication Requirements
While no token is required in the iframe URL, ensure that a valid Descope JWT is available within your application.
The embedded SSO Suite will use the authentication context from its parent application. The JWT will need to have appropriate permissions for SSO configuration.
Query Parameters
Tenant ID
If the logged-in user is associated with multiple tenants, you can specify which tenant's SSO configuration to display by including the tenantId
as a query parameter:
If the JWT includes a dct
claim, the selected tenant will automatically be picked up and this query parameter is unnecessary.
SSO Configuration ID
When using multiple SSO configurations, you can specify which configuration to display by passing the ssoId
as a query parameter. If the ssoId
value is not provided, it will display the SSO Setup Suite for the Default provider:
Theme Customization
The SSO Setup Suite supports theme customization to match your application's appearance. Use the theme
query parameter to set the desired theme:
Available Themes
light
- Light themedark
- Dark themeos
- Automatically match the user's operating system theme preference