The <UserProfile /> component is used to render a beautiful, full-featured account management UI that allows users to manage their profile, security, and billing settings.
The following example includes a basic implementation of the <UserProfile /> component. You can use this as a starting point for your own implementation.
The <UserProfile /> component must be embedded using the Remix optional route in order for the routing to work.
The routing strategy for your pages. Defaults to 'path' for frameworks that handle routing, such as Next.js and Remix. Defaults to hash for all other SDK's, such as React.
Name
path
Type
string
Description
The path where the component is mounted on when routing is set to path. It is ignored in hash-based routing. For example: /user-profile.
Name
additionalOAuthScopes
Type
object
Description
Specify additional scopes per OAuth provider that your users would like to provide if not already approved. For example: {google: ['foo', 'bar'], github: ['qux']}.
In addition, you also can add custom pages and links to the <UserProfile /> navigation sidenav. For more information, refer to the Custom Pages documentation.