CompleteSignupFlow
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
| Name | Type | Description |
|---|---|---|
client | AuthClient | |
ssoRedirectUrl | string | |
loginHref | string | |
onSuccess | (resp: AuthResponse) => void | |
className | string |