Customer Login
Overview
A sign-in box for your customers, with a link to create an account. Put it on the entry page of your customer portal.
Sign-in form for customers.
When to use
- Let customers sign in to see their quotes, orders or repairs.
- Offer account creation to new customers.
- Protect portal pages so each customer sees only their own data.
When not to use
- For your own team's sign-in use the same block or a Login Form on a staff page; roles decide what each user can do.
Quick start
- Drag Customer Login onto a public page such as
/portal/login. - On the inner Login Form, set After sign-in go to to your portal home page.
- Mark the portal pages as requiring sign-in (page settings) and allow the Customer role.
- Preview and create a test customer account.
Recommended data
No entity is created. Customer accounts live in the app's user list (Users), separate from the Customers entity; portal blocks match records to the signed-in customer by email address, so use the same email in both places.
Layout rules
- Can contain any component.
- Can be placed in any container (page, section, card, row, column, grid…).
Properties
Heading shown on the form. With the default title the form reads Welcome back; any other value is shown as typed.
Default: Customer Login
Example: Sign in to your account
Data binding
No entity. It expands into a Card containing a Login Form in sign-in mode with the sign-in / sign-up switch on. Accounts are app users managed under Users, not records in your data.
Events
This block is built from ordinary components. Select one of them (in Layers) to change what happens on these events:
- On success
- None on the block; the inner Login Form has onSuccess and onError (for example Navigate after sign-in).
Responsive behavior
Uses 12 of 12 columns by default. In the Responsive tab you can change visibility, span, dimensions, padding, margin, font, order, alignment, direction separately for tablet and mobile.
Permissions
New accounts created from the sign-up switch receive the Customer role. Pages for customers should require sign-in and allow the Customer role; portal blocks then show only records matching the customer's email.
Accessibility
- The form fields are labelled and keyboard-navigable; keep the card narrow so the tab order stays obvious.
Common patterns
- Use a dedicated layout without the main navigation for the login page.
- Add Profile on the portal home page so customers can change their password.
Limitations
- Password rules and email verification follow the app's authentication settings, not this block.
Troubleshooting
Why: No redirect page is set.
Fix: Set After sign-in go to on the inner Login Form or add a Navigate action on onSuccess.