AuthView
Prebuilt Clerk authentication flow.
Parameters
Optional initial value for the identifier field. Phone-like values are routed to the phone number field automatically.
Optional initial value for the first name field during sign-up.
Optional initial value for the last name field during sign-up.
When true, prefilled identifier and sign-up name fields are read-only.
When false, stored auth-start identifiers are cleared and future edits are kept in memory only for the lifetime of the current view.
When true, Google social auth uses native Google One Tap if configured. When false, Google social auth always uses browser OAuth.
When true, browser OAuth social auth starts from a sign-up attempt and transfers back to sign-in if the selected account already exists.
Custom metadata to attach to users created by the prebuilt sign-up flow. This metadata is not validated by Clerk and should not contain sensitive information.
When true, the auth start screen shows a close affordance.
Called when the user presses the close affordance. When omitted, the close affordance falls back to the system back dispatcher.
Called when authentication completes.
Determines whether the flow starts as sign-in, sign-up, or sign-in-or-up.