Skip to main content

<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

PropTypeRequiredDescription
appearanceAppearanceCustomize the component's visual appearance
preferencesPreferencesCustomization 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'],
}
ThunderID LogoThunderID Logo

Product

DocsAPIsSDKs
© WSO2 LLC. All rights reserved.Privacy PolicyCookie Policy