Hosted Widgets
Use Scalekit Hosted Widgets for organization and user management without building custom UI.
Scalekit Hosted Widgets provide a hosted organization and user management portal for your B2B application. Instead of building UI for user and organization settings, you can redirect users to a fully managed interface hosted by Scalekit.
Hosted Widgets use the same Scalekit session as your app. If a user is authenticated and has a valid session, they can access Hosted Widgets directly. Visibility is controlled by Scalekit permissions and the features enabled for the organization.
Hosted Widgets are available at:
<SCALEKIT_ENVIRONMENT_URL>/ui/- Easy integration: redirect users to the Hosted Widgets URL.
- Inherits your application branding.
- Supports your application’s custom domain.
- Enforces roles and permissions automatically.
Organization widgets
Section titled “Organization widgets”Organization widgets are access-controlled using Scalekit permissions and feature entitlements. An organization widget appears only if the user has the required permissions and the organization has the corresponding feature enabled.
Organization settings
Section titled “Organization settings”The organization settings widget lets users view and manage the organization profile, including allowed email domains.

Member management
Section titled “Member management”The member management widget lets users view organization members, invite new members, manage roles, and remove members from an organization.

SSO configuration
Section titled “SSO configuration”The SSO configuration widget lets users set up and manage Single Sign-On for their organization. It includes a setup guide tailored to the customer’s identity provider.

SCIM configuration
Section titled “SCIM configuration”The SCIM configuration widget lets users set up and manage SCIM provisioning for their organization. It includes a setup guide tailored to the customer’s identity provider.

User widgets
Section titled “User widgets”User widgets let end users manage their profile and security settings. These widgets are accessible to all authenticated users and are not controlled by organization-level feature entitlements or Scalekit permissions.
User profile
Section titled “User profile”The user profile widget lets end users view and manage their profile.

User security
Section titled “User security”The user security widget lets end users register and manage passkeys, view active sessions, and revoke sessions.

Access management
Section titled “Access management”Hosted Widgets enforce access using Scalekit permissions. You can map these permissions to any application roles assigned to the end user. When a user accesses Hosted Widgets, Scalekit checks their permissions and shows the available widgets.
| Permission | Purpose |
|---|---|
sk_org_settings_read | View organization profile and settings |
sk_org_settings_manage | View and modify organization profile and settings |
sk_org_users_read | View users in an organization |
sk_org_users_invite | Invite new users to an organization |
sk_org_users_delete | Remove users from an organization |
sk_org_users_role_change | Change roles of users in an organization |
sk_org_sso_read | View SSO configuration for an organization |
sk_org_sso_manage | View and modify SSO configuration for an organization |
sk_org_scim_read | View SCIM configuration for an organization |
sk_org_scim_manage | View and modify SCIM configuration for an organization |
Branding & customization
Section titled “Branding & customization”Hosted Widgets can be customized to match your application’s branding. Hosted Widgets use your application logo, favicon, primary color, and more to look like an extension of your app.
You can also change the Hosted Widgets URL to match your application URL by setting up a custom domain.
Common Hosted Widgets scenarios
Section titled “Common Hosted Widgets scenarios”What happens if a user does not have a session?
If no session exists, the user is redirected automatically to the hosted login page of your application.
What happens when a user logs out from Hosted Widgets?
When a user logs out from Hosted Widgets, they are redirected to the hosted login page of your application. This can cause your app session and the Scalekit session to fall out of sync. We recommend one of the following approaches:
- Implementing back-channel logout so Scalekit can notify your app about session termination.
- Listening for the user logout webhook to get notified about session termination.