Authentication
Magic link authentication for the client portal, no passwords required
Portal Authentication
The client portal uses magic link authentication. Clients do not need to create an account or remember a password. They simply enter their email and click a link to log in.
Magic Link Flow
- The client navigates to the portal URL
- They enter their email address
- The system sends a one-time magic link to that email
- The client clicks the link in their inbox
- A session is established and the client is redirected to the dashboard
Sign-in code fallback
The sign-in email shows the same token as a copyable code beneath the button. Mail clients that break links (plain-text rendering, corporate link rewriting, aggressive scanners that consume one-time links) would otherwise dead-end the buyer.
The /portal/login page has a matching "Sign in with a code" field: pasting the code (or the entire mailed link, the token is extracted either way) redeems it through the same validation as a clicked link. It is subject to the same expiry and one-time-use rules.
Security
- One-time use: a link from the sign-in form can only be used once
- Expiration: magic links expire after a limited time window
- Email verification: the link implicitly verifies the client owns the email address
- Session duration: once authenticated, the session persists so clients do not need to re-authenticate on every page load
No Password Required
Magic links eliminate password-related friction:
- No password creation or complexity requirements
- No forgotten password recovery flows
- No credential storage risks on the client side
The client only needs access to their email inbox to authenticate.
Sign in with postcode and house number
For companies whose customers are households (a bathroom renovator, an installer), you can give every customer the same link instead of inviting each one by e-mail. The customer types their postcode and house number, receives a six-digit code at the e-mail address on their client record, and enters it to open the portal. A portal account is created for them the first time.
Sharing the link
- Copy it in Alpha: use Copy portal link in the action menu of a customer, or the link icon in the header of a deal, and send it by WhatsApp or e-mail.
- Put it in your mails: every e-mail template can use
{{customerPortalUrl}}. Add it to your quote, invoice or planning templates under Settings → Communications → Templates, for example:View your quotes and invoices in the customer portal: {{customerPortalUrl}}.
The link looks like https://alpha.asrr.nl/portal/login?tenant=<company code>&via=adres. It contains nothing secret: the mailed code is what proves who the customer is.
Which customer is found
The postcode and house number are compared with the billing address and the delivery addresses of your customers. Spelling differences are ignored (1234AB, 1234 ab), and a house number with an addition (12a) is also found when the customer leaves the addition out, as long as only one customer matches. When the house number field is empty, the number at the end of the street line (Dorpsstraat 12a) is used.
The code goes to the customer's e-mail address, or to the e-mail address of the first contact when the customer itself has none. The page shows it masked (j***@gmail.com) so the customer can recognise it.
When it does not work: asking for access
The customer is offered a short form to ask for access when:
- no customer is found at that address,
- the customer has no e-mail address in Alpha,
- several customers with different e-mail addresses live at that address, or
- the customer says the masked e-mail address is not theirs.
The request arrives as a ticket titled Toegang klantportaal aangevraagd with the name, e-mail, phone number and address the customer typed. The customer first confirms their e-mail address through the usual ticket confirmation mail. Correct the address or e-mail address on the customer and send them the link again.
Security
- A code is valid for 10 minutes and allows five failed attempts across all tabs and devices; after that the customer requests a new one. A successful sign-in consumes the code, so submitting it again cannot start another session.
- Requesting a code again within a minute reuses the code already sent instead of mailing another.
- Requests are rate limited per IP address and protected by the bot check.
- An e-mail address that belongs to a staff account never gets a portal session this way; staff use the normal sign-in.
Configuration confirmation links
Buyers who submit through the public configurator get a second kind of magic link, embedded in their confirmation email. It is long-lived and reusable so they can return to it weeks later; see Configurations & drawings.
Access and loading errors
If your account does not have access to the client portal, Alpha shows an access-denied page instead of an empty dashboard. Ask the project administrator to check your client access for the correct organisation. Other initial loading failures show an error page where you can retry.
After an application update, Alpha may reload once to retrieve the latest page files. If loading still fails, an error remains visible instead of repeatedly reloading.