A widget for controlling user security settings in your application.
The <UserSecurity />
widget enables users to control their security settings. With this widget, users can:
No special permissions are required to use this widget.
import { UserSecurity, 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 SecurityPage({ authToken }) { return ( <WorkOsWidgets> <UserSecurity authToken={authToken} /> </WorkOsWidgets> ); }