Skip to content
Customer IdentityMarkdown

What's next for customer sign-in

A sign-in per brand, your own logo and colors, bot protection, checks per address and fake sign-up checks are on the way, and what to use until each one arrives.

Planned

These customer sign-in features are planned. None is available yet; each says how it will work and what to use today. Sign-in by email code and sign-in with another provider are on What’s next for authentication.

Each of your brands gets its own sign-in experience within one realm, on the same engine: its own pages, wording and look, chosen by the app the customer arrives from. One customer account then works across your brands, with one passkey. How you’ll use it: you define each brand once in the realm and name the brand on each app’s client. What to use today: a realm per brand, each at its own host names and with its own wording; see A realm per brand.

You set the logo, colors, fonts, background and layout of the realm’s sign-in and consent pages, without code, and see the change before customers do. How you’ll use it: in the dashboard, or by writing the realm’s branding settings through the API, per realm and later per brand. What to use today: the pages’ wording is yours, per language; see Pages in the user’s language. The look is the realm’s own.

Sign-up and sign-in resist bots: a request that looks automated gets a challenge to solve before it goes on, beyond lockout. How you’ll use it: you turn it on for the realm and choose when a challenge is shown, always or only when a request looks automated. What to use today: keep Lockout on with short locks, move customers to passkeys, and put your own bot challenge on your sign-up form; see Protect customer sign-in.

Many failed sign-ins or sign-ups from one IP address slow that address down, then block it for a while, without locking the accounts it aims at. A customer whose name is being tried from elsewhere keeps signing in. How you’ll use it: on by default, with settings for how many failures slow or block an address and for how long, and a list of addresses you trust. What to use today: lockout counts failures per account; keep its locks short so a lock someone else causes costs your customer little. See Protect customer sign-in.

Each sign-up is checked against the reputation of its address, its email domain and its device, so fake accounts are refused or challenged before they exist. How you’ll use it: you turn it on with self sign-up, and choose whether a doubtful sign-up is refused or challenged. What to use today: your back end creates every account, so check sign-ups on your own form before you call the realm; see Create customer accounts.

A customer who forgot their password resets it themselves from the sign-in page, by a code or link sent to their email. How you’ll use it: you turn it on per realm once the realm sends email. What to use today: a customer with a passkey signs in with it and needs no password. For one without, a realm administrator, or your support tool’s back end, sets a new password on the account and gives it to the customer:

Terminal window
curl -X PATCH https://foobar.cvyuh.com/api/v0/am/objects/v1/user/maya \
-H "Cookie: x-cvyuh-token=$CVYUH_SESSION" \
-H "Content-Type: application/json" \
-d '{ "passwordHash": "<a new password>" }'

The realm answers 200; the Password rules apply. Check it’s really the customer before you do, by your own means, since the new password is all a caller would need with their authenticator app. Customers can’t change their own password yet, so ask them to add a passkey once they’re in, and sign in with it from then on.