Securing the customer portal: passkeys and 2FA
Overview
In the customer portal your customers see their invoices, subscriptions and payment data – exactly what nobody else should see. To secure it there are passkeys (sign-in with fingerprint, face recognition or device PIN) and two-factor authentication via an app. You set the framework as the provider; whether a customer uses them is their decision – unless you make 2FA mandatory.
What your customers can set up
- Passkey – the customer signs in with whatever already protects their device. There is no password that could be guessed or phished. Several passkeys per customer are possible, for laptop and phone for instance.
- Two-factor authentication – a code from an authenticator app on top of the password. On setup the customer receives recovery codes; they are the lifeline if the phone is lost. Each code works only once.
Both live in the portal under "My account" → "Security", where the customer can enable and remove them at any time – if 2FA is mandatory, the portal takes them back to setup after removal.
What you configure
Under Settings → Customer portal → Security there are four levers; the passkey and magic-link settings sit in the collapsible "More settings" area. Only the account owner may change them.
- "Allow passkey sign-in in the portal". When off, the portal hides the passkey buttons; neither signing in nor setting up with a passkey is possible then. Passkeys already stored remain and work again once you switch the option back on.
- "Require two-factor authentication for customers". The requirement takes effect immediately: from then on, customers without an authenticator app set up land on the security page whichever portal page they open. They can only reach invoices, subscriptions and payment methods once they have set it up; only the profile page (where email address and VAT ID can be changed only after setup), the password and sign-out stay reachable. A passkey alone does not count. The 30 days mentioned in the setting currently change nothing about this – they only determine how the portal answers technical background requests. So switch the requirement on only once your customers are prepared. The 2FA offer itself cannot be switched off.
- Magic-link skips 2FA. This decides whether a sign-in link sent by email replaces the second factor. For pure B2C offerings that is convenient; where sensitive data sits in the portal, leave it off – otherwise access to the customer's mailbox is enough.
- Automatic logout on inactivity. Signs customers out after a period without activity. The limit applies to all your customers and is additionally enforced server-side – an open laptop in an office is then not a permanently open portal.
A sensible setup is to allow passkeys and leave the choice to your customers: passkeys are more convenient, an authenticator app works on every device.
Looking into a customer's portal
When a customer asks why they cannot find an invoice, a look at their exact view helps. On the customer detail page, the "More actions" menu offers "Log in to customer portal" for that. The entry opens the portal in a new tab, signed in as that customer. If 2FA is mandatory and the customer has not set it up yet, you too will only see the security page there.
- The session lasts 48 hours; the hint on the menu entry states that limit before you even click.
- It requires the customer to have portal access set up and you to have full access to customers. Without either, the entry does not appear.
- Your own Kyvento session is unaffected, and signing out in the portal tab does not affect the session your customer has on their own device.
- Every use is logged – with your user identifier and the customer concerned.
- The function requires a personal sign-in; it is not available via API tokens.
Treat the access for what it is: a look into a third party's data. Use it for the specific occasion, not as a permanent entry point.
The security reset
For two emergencies – a customer is locked out, or an account appears compromised – there is one operation. It clears the portal access completely: two-factor authentication is disabled, all stored passkeys are deleted, all signed-in devices are logged out and any outstanding sign-in links are invalidated.
That is deliberate and not excessive: whoever triggers the reset does so because the access may be in someone else's hands. If a passkey or an already-sent login link survived, the reset would invalidate everything except the very route the attacker came in through.
The customer then sets everything up again – passkey and second factor are gone, not just one of them. Tell them so, otherwise they face a portal that suddenly does not recognise them.
How to trigger it
On the customer detail page, choose "Reset two-factor" in the "More actions" menu and confirm with your password – or with your passkey if you sign in without a password. Only the account owner sees the entry, and only for customers with portal access. Your customer then receives a security email and signs in again – with their password or a new sign-in link.
Check who you are talking to first: a reset removes every layer of protection at once – which is exactly the lever an outsider is looking for. A callback to the number on file is the simplest safeguard. Every reset is logged and stays traceable.
Good to know
- Passkeys are bound to the device they were created on – or to the customer's password manager if they sync them there.
- Anyone who has used up all their recovery codes should generate new ones in the portal before they need them. The portal asks for the password to do so, and for the password or a recovery code to remove 2FA – customers who have so far only signed in via sign-in link set a password first.
- These settings concern the customer portal only. Securing your own Kyvento access is covered in Enabling two-factor authentication.
Next steps
- Secure your own access – see Enabling two-factor authentication