A widget for verifying domains in the Admin Portal.
The <AdminPortalDomainVerification />
widget enables users to verify domains in the Admin Portal.
In order to use the Domain Verification widget, a user must have a role that has the widgets:domain-verification:manage
permission.
import { AdminPortalDomainVerification, 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> <AdminPortalDomainVerification authToken={authToken} /> </WorkOsWidgets> ); }