A widget for setting up SSO connections in the Admin Portal.

The <AdminPortalSsoConnection /> widget enables users to set up SSO connections in the Admin Portal.
In order to use the SSO Connection widget, a user must have a role that has the widgets:sso:manage permission.
import { AdminPortalSsoConnection, WorkOsWidgets } from '@workos-inc/widgets'; /** * @param {string} authToken - A widget token that was fetched in your backend. See the * "Tokens" section of this guide for details on how to generate the token */ export function AdminPortal({ authToken }) { return ( <WorkOsWidgets> <AdminPortalSsoConnection authToken={authToken} /> </WorkOsWidgets> ); }
| import { AdminPortalSsoConnection, WorkOsWidgets } from '@workos-inc/widgets'; | |
| /** | |
| * @param {string} authToken - A widget token that was fetched in your backend. See the | |
| * "Tokens" section of this guide for details on how to generate the token | |
| */ | |
| export function AdminPortal({ authToken }) { | |
| return ( | |
| <WorkOsWidgets> | |
| <AdminPortalSsoConnection authToken={authToken} /> | |
| </WorkOsWidgets> | |
| ); | |
| } |
| Prop | Type | Default | Required |
|---|---|---|---|
authToken | AuthToken | No default value | Required |
The token used to authenticate the widget. Learn more about authorization tokens.