Skip to content
rw3iss Auth

CompleteSignupFlow

flow @rw3iss/auth-client/preact/flows/CompleteSignupFlow framework-adapters/preact/components/flows/CompleteSignupFlow.tsx ↗

Full registration flow: collect details → register → display post-signup “check your email” notice. Composes RegisterForm + SsoButtonGroup (for sign-up-via-SSO) + EmailVerificationNotice.

After a successful register, the AuthClient is already signed in (the server returns a token pair). The verification step is advisory — most apps treat unverified accounts as functional but gate certain actions on verification.

Usage

import { CompleteSignupFlow } from '@rw3iss/auth-client/preact/flows';
<CompleteSignupFlow
ssoRedirectUrl={`${window.location.origin}/auth/callback`}
onSuccess={(resp) => navigate("/")}
/>

Props

NameTypeDescription
clientAuthClient
ssoRedirectUrlstring
loginHrefstring
onSuccess(resp: AuthResponse) => void
classNamestring