<ThunderIDOrganizationSwitcher />
The ThunderIDOrganizationSwitcher component renders a UI control for switching the active organization. On selection, it calls the /api/auth/organizations/switch endpoint and refreshes the session. It is auto-registered by the Nuxt module.
Usage
components/NavBar.vue
<template>
<ThunderIDSignedIn>
<ThunderIDOrganizationSwitcher />
</ThunderIDSignedIn>
</template>
Props
| Prop | Type | Required | Description |
|---|---|---|---|
appearance | Appearance | ❌ | Customize the component's visual appearance |
preferences | Preferences | ❌ | Customization options for i18n and theming |