ComponentsAuthenticationEmail Verification

Authentication

Email Verification

The post-signup verification step for confirming a user’s email address. It accepts a six-digit code, supports resend, resolves the target email from signup context, and routes back to Sign In after success.

Best forPost-signup verification

Use it directly after successful account creation.

Identity fieldsLogo/App name removed

No component-level logo or app-name editing in this screen.

Registry keyauth-confirm

Use this key when checking registry defaults and property definitions.

What it does

Four things worth knowing

BuilderConfirmCode is the verification step between signup and sign-in. It validates the code, verifies/resends via auth endpoints, and uses the pending signup email when available.

6-digit code validation

Accepts exactly six digits before submitting verify requests, and blocks invalid formats with user-facing feedback.

Email resolution with fallback

Uses pendingVerificationEmail from app context first, then falls back to username if context is missing.

Verify + resend endpoints

Calls API_ENDPOINTS.userApp.verifyEmail and API_ENDPOINTS.userApp.resendVerification with normalized appId.

Built-in return navigation

Routes users back to Sign In after success using signinScreenId and onScreenNavigate, with onBackToSignin fallback support.

Builder setup

Find it, drop it, wire it up

Where to find it

  1. Open the Builder component picker.
  2. Go to Authentication.
  3. Select Email Verification.
  4. Drop it onto the screen that follows Sign Up.

Recommended setup

  1. Set Sign In destination via signinScreenId.
  2. Set heading/subtitle text in Content and style values in Style.
  3. Only use username as a fallback when signup context is not present.
  4. Run verification and resend tests in Preview mode before publishing.
Category: AuthenticationComponent: BuilderConfirmCodeRegistry key: auth-confirm
Props

What you can configure in the editor

GroupPropDefaultWhat it controls
ContentheadingTextVerify Your EmailMain heading shown above the confirmation input.
ContentsubtitleTextauto-generatedSupporting text shown below heading; usually includes the resolved verification email.
StylefontFamilytheme defaultTypography family for heading, labels, and action controls.
StyleprimaryColor#007AFFAccent color for verify button, resend action, and interactive highlights.
StylesizeVariantpreset-basedScales spacing, input dimensions, and button sizing.
Identity fallbackusernamenoneFallback email when pendingVerificationEmail is missing from context.
ActionsigninScreenIdnoneSign In destination after success and back-link navigation.
ActionhomeScreenIdnoneOptional post-verify destination for auth flows that route onward after sign-in handoff.
RuntimeisPreviewfalseEnables interactive verification controls only in preview/live runtime.
Toggles & colours

Make it yours

SettingWhereWhat changes
Primary ColorStyleVerify button styling, resend action accent, and focus highlights.
Font FamilyStyleTypography family across heading, labels, and code input UI.
Component SizeStyleScales spacing, code input dimensions, and button sizing presets.
Heading TextContentMain prompt shown above verification code input.
Subtitle TextContentContext line that explains where the code was sent.
Tips

Common mistakes to avoid

Keep logo/app-name fields out of this component

logoUrl and logoText are intentionally removed. Branding identity belongs to app-level settings, not confirm-code properties.

Ensure email is available before testing

The component needs pendingVerificationEmail or username. If both are missing, verify/resend should block and show an alert.

Test both invalid and valid code paths

Confirm non-6-digit input triggers validation, then verify a valid code completes and routes the user back to Sign In correctly.

Validate resend and navigation wiring after changes

After editing auth-confirm registry fields, test resend success/failure alerts and ensure signinScreenId routing still works in Preview.