Skip to content
rw3iss Auth

OrgSettingsForm

form @rw3iss/auth-client/preact/forms/OrgSettingsForm framework-adapters/preact/components/forms/OrgSettingsForm.tsx ↗

Org settings editor — read + edit name and slug. Fetches the full org record on mount so the form’s initial values match what’s server-side (the auth-snapshot’s org_name claim is stamped at token-issue time and may be stale).

Requires org:read (to load) and org:update (to save).

Usage

import { OrgSettingsForm } from '@rw3iss/auth-client/preact/forms';
<OrgSettingsForm />

Props

NameTypeDescription
clientAuthClient
orgIdstring
onSaved() => void
classNamestring