Users
UsersAccounts
Linked OAuth accounts panel showing a user's connected social providers.
UsersAccounts
Renders a list of OAuth/social accounts linked to a user (Google, GitHub, etc.) with provider icons, account details, and an admin option to unlink individual providers.
Components
<XAdminUsersAccounts />
Displays all connected OAuth providers for a user with the ability to unlink accounts and view provider-specific metadata.
<XAdminUsersAccounts :userId="userId" />
Props
| Prop | Type | Default | Description |
|---|---|---|---|
userId | string | — | ID of the user whose accounts to display |
endpoint | string | '/api/admin/users' | Base API endpoint |
loading | boolean | false | Show loading skeleton |
allowUnlink | boolean | true | Show unlink action per provider |
Types
interface LinkedAccount {
id: string
provider: string // e.g. 'google', 'github'
accountId: string
email?: string
createdAt: string | Date
}
AI Context
component: XAdminUsersAccounts
package: "@xenterprises/nuxt-x-app-admin"
category: Users
use-when: Displaying and managing a user's linked OAuth provider accounts in an admin user detail view
