<ThunderIDCreateOrganization />
The ThunderIDCreateOrganization component renders a form for creating a new sub-organization under the current tenant. It is auto-registered by the Nuxt module.
Usage
pages/orgs/new.vue
<script setup lang="ts">
definePageMeta({ middleware: 'auth' })
</script>
<template>
<ThunderIDCreateOrganization />
</template>
Props
| Prop | Type | Required | Description |
|---|---|---|---|
appearance | Appearance | ❌ | Customize the component's visual appearance |
preferences | Preferences | ❌ | Customization options for i18n and theming |
Notes
The user's session must include the internal_organization_create scope for the creation request to succeed. Add it to the scopes array in nuxt.config.ts:
nuxt.config.ts
thunderid: {
scopes: ['openid', 'profile', 'internal_login', 'internal_organization_create'],
}