A widget for displaying and managing a user’s profile in your application.
The <UserProfile />
widget allows users to view and manage their personal information.
Users can see their profile details and edit their display name.
This widget provides a simple, user-friendly interface for basic profile management.
No special permissions are required to use this widget.
import { UserProfile, 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 ProfilePage({ authToken }) { return ( <WorkOsWidgets> <UserProfile authToken={authToken} /> </WorkOsWidgets> ); }