Enterprise widgets
SSO, SCIM, and audit widgets for customer self-service enterprise setup.
Wocha provides embeddable enterprise widgets for customer self-service: SSO configuration, SCIM provisioning, and audit log viewing. Import from @wocha/ui or the dedicated enterprise entry point.
Installation
pnpm add @wocha/ui @wocha/reactOr scaffold with the CLI
npx @wocha/cli init --framework nextjsWochaSSOWidget
Multi-step SSO setup wizard (SAML or OIDC).
| Prop | Type | Default | Description |
|---|---|---|---|
organisationId | string | — | Organisation to configure |
apiUrl | string | — | Customer API base URL |
accessToken | string | — | OAuth access token (fetched from context if omitted) |
onComplete | () => void | — | Called when setup finishes |
appearance | WochaAppearance | — | Visual customisation |
className | string | — | Additional class name |
WochaSCIMWidget
SCIM credential management and IdP setup guides.
| Prop | Type | Default | Description |
|---|---|---|---|
organisationId | string | — | Organisation to configure |
apiUrl | string | — | Customer API base URL |
accessToken | string | — | OAuth access token |
onComplete | () => void | — | Called when SCIM is enabled |
appearance | WochaAppearance | — | Visual customisation |
className | string | — | Additional class name |
WochaAuditWidget
Filterable audit log viewer with export.
| Prop | Type | Default | Description |
|---|---|---|---|
organisationId | string | — | Organisation whose logs to display |
apiUrl | string | — | Customer API base URL |
accessToken | string | — | OAuth access token |
maxEvents | number | — | Maximum events to fetch |
eventTypes | string[] | — | Filter by event type |
autoRefresh | boolean | — | Periodically refresh logs |
autoRefreshIntervalMs | number | — | Refresh interval in milliseconds |
appearance | WochaAppearance | — | Visual customisation |
className | string | — | Additional class name |
Enterprise setup bundle
The @wocha/ui/enterprise entry provides a tabbed setup experience with domain verification:
Theming
Framework notes
Widgets require a valid access token and Customer API apiUrl. Generate portal tokens from the Wocha Console for embedded setup flows.
Related
- OrganizationProfile — SSO status in Security tab
- UI SDK overview