Hosted login
The sign-in screens Authio serves for each client: the steps they ask for, how they look, the languages they speak and how the sign-in returns to your app.
Every client gets a set of screens that Authio hosts and renders on the server: sign-in, the second factor, forgotten password, terms, consent, sign-out and the account pages. Your app never collects a password. It sends the browser to the realm’s authorization endpoint, and Authio walks the person through whatever the client is configured to ask for.
This page covers how a sign-in runs, the steps you can compose per client, what the person sees, the human check, branding and languages, and how to run the sign-in in a popup instead of a full redirect.
How a sign-in runs
Your app sends an authorization request
A standard authorization code request with PKCE, sent to the realm’s authorization endpoint. The Authio libraries build it for you:
createAuthorizationUrlin@hyper.authio/clientandCreateAuthorizationAsyncofIAuthioLoginClientinAuthio.Client, which also return what to keep for the callback; on Next.js,@hyper.authio/provider-nextauthsends it on its own. The last tab shows what it carries:Node.jsTypeScriptimport { createAuthioClient } from '@hyper.authio/client' const authio = createAuthioClient({ issuer: 'https://authio.api.hyperio.tech/realms/acme', clientId: 'acme-web', clientSecret: () => process.env.AUTHIO_CLIENT_SECRET!, checks: ['pkce', 'state'], }) const { url, transaction } = await authio.createAuthorizationUrl({ redirectUri: 'http://localhost:3000/api/auth/callback/authio', scopes: ['openid', 'profile', 'email'], }) // Keep transaction until the callback, and send the browser to url.Authio looks for a session it can reuse
If the client takes part in single sign-on and the browser already holds a valid sign-in to the realm, the person goes straight through, or picks an account from the chooser. Otherwise the browser lands on the client’s sign-in screen,
/realms/acme/clients/acme-web/login, carrying the whole request with it.The hosted login runs the client’s steps
Password, passkey, a provider button, then whatever second factor the client still owes. After the credential is proven, Authio applies the realm’s checks in order: suspension, account status and access to this client, the sign-in address, password expiry, and only then the second factor.
Terms and consent, when the client asks for them
With the account settled, the request goes back through the authorization endpoint. The terms screen comes first if the account has not accepted the current version, then the consent screen if the client asks for consent and a scope is still ungranted.
The browser returns to your app
Authio redirects to the registered redirect URI with
code,stateandiss. Your app exchanges the code for tokens as usual:handleAuthorizationCallbackin@hyper.authio/clientandHandleCallbackAsyncinAuthio.Clientcheckstateandiss, redeem the code with the PKCE verifier and validate the ID token.
The request is never lost between steps
Sign-in steps
Each client chooses, in order, which steps its sign-in is made of. Clients of the same realm can differ: one asks for a password only, another for a passkey, a third for a password plus a phone approval.
| Step | What it asks for | Notes |
|---|---|---|
login | Username and password. | Admits an account with nothing enrolled, as email_code and email_link do. The provider buttons appear under it. |
email_code | A 6-digit code sent to the e-mail address of the account the person names, in place of a password. | A way in, like login, so it admits an account with nothing enrolled. Beside login, the screen offers both. See Sign in with a code by e-mail. |
email_link | A magic link sent to the e-mail address of the account the person names, confirmed with a button, in place of a password. | A way in, like login and email_code, so it admits an account with nothing enrolled. Beside either of them, the screen offers each. See Sign in with a magic link. |
mfa | A 6-digit code sent to the account’s e-mail address. | Asked after a first factor; the same code also reaches the account’s paired phones. See Multi-factor. |
passkey | A passkey on this device: fingerprint, face, screen lock or a security key. | Works as the first step or as a second factor. See Passkeys. |
push | An approval in the Authio app, matching a number shown on the screen. | Always a second factor. See Multi-factor. |
totp | A 6-digit code from an authenticator app, or one of the account’s recovery codes. | Always a second factor, and never Optional. See Multi-factor. |
terms_acceptance | Acceptance of the current version of the client’s terms. | Always asked after sign-in, wherever it sits in the list. See Sessions and SSO. |
Requirement and registration
The passkey, totp and push steps carry two settings. Requirement says how strongly the step is asked for; Registration says what happens to an account that does not have the factor yet.
| Setting | Value | Effect |
|---|---|---|
| Requirement | Preferred (default) | Asked only of accounts that can already answer it: a registered passkey, a set-up authenticator app or a paired phone. |
| Requirement | Optional | Never blocks a sign-in. An authorization request with acr_values can raise it to Preferred. |
| Requirement | Required | Asked of every account, including one with nothing enrolled. |
| Registration | Offer (default) | An account without the factor is offered to set it up and can decline. |
| Registration | Never | Nothing is offered during sign-in; the factor is set up from the account pages. |
| Registration | Require | The account has to set the factor up before it can continue. |
Combinations that would lock people out are refused when you save the client, with the reason on the field:
- A Required step with registration Never on a client that has a
loginstep: an account without the factor could never get in. - An Optional step with registration Require: the account would enrol a factor that is never asked for.
- An
mfastep marked Optional on a client without apushstep that is neither Required nor requires registration: the code would never be sent. Remove the step instead. Beside such apushstep, Optional is allowed and offers the code under Use another way to sign in (see Multi-factor). - A
totpstep marked Optional: an app code is never a way in, it only answers a stage after a password. - A step that offers registration on a client with no
login,email_codeoremail_linkstep: there is no session to register from, so set registration to Never. - An
mfastep on a client that has anemail_codeor anemail_linkstep: the code and the link go to the same inbox as themfacode, which makes them one factor, not two. Usetotp,pushorpasskeyas the second factor.
The order of the steps
The list is read as a whole, so the steps can come in any order. These rules settle what an order alone would leave open:
- A visit that names no account yet starts on the first step that can name one:
login, thenemail_code, thenemail_link, thenpasskeyon a client that has none of them. Anmfa,totporpushstep listed before it is not skipped: it is asked as soon as the account is known. - Every second factor the client demands is owed before the session opens, wherever it sits in the list. When the account has nothing to answer it with and the step is Required or its registration is Require, the factor is set up right there, before the session exists, with no further proof asked: the first factor of this sign-in was just proven.
- What is only offered, with registration Offer, comes after the session opens, even when it is listed before the step that completed the sign-in, and only to an account with no second factor yet: an account that has one adds the next on its account pages, with the proof (see Adding a factor when you already have one). An offer declined is not made again in the same sign-in.
- A factor the sign-in already presented is not asked again: a sign-in that began with a verified passkey is not sent back to the
passkeystep. terms_acceptanceis always asked after sign-in, wherever it sits.- An administrator can require a passkey or a phone of one person: on the clients whose
passkeyorpushstep has registration Offer, that person’s next sign-in treats it as Require.
Sign in with a code by e-mail
The email_code step signs people in without a password. The person types their username or e-mail address, receives a 6-digit code at the address on the account and types it on the same screen. Clients that also have login show a link to switch between the two.
- The code lasts 10 minutes, opens a single sign-in and stops working after 5 wrong tries; the person can ask for a new one.
- The screen answers every name the same way, so it never reveals which accounts exist. Only an existing, active account receives the e-mail.
- Each name receives at most 5 codes every 30 minutes, and a source asking codes for many names is blocked by attack protection.
- Typing the code proves the inbox, so an address not yet confirmed is confirmed on the first sign-in.
- Further steps still apply: put
totp,pushorpasskeyafteremail_codefor a second factor. - Tokens report the code as
otpinamr, and a code plus another code count as one factor inacr. Sessions and the access log name it e-mail (code or magic link). - A session that began with the code does not enter, through single sign-on, a client of the realm that asks for a password; the person signs in there again.
Sign in with a magic link
The email_link step signs people in without a password and without a code to type. The person types their username or e-mail address, and the screen waits while an e-mail with a Sign in button reaches the address on the account. Clients that also have login or email_code show a link to switch between them.
- The link lasts 15 minutes, works once and only on the client that asked for it. Asking again sends a new link, and the screen waits for that one.
- Opening the link decides nothing. The link’s page shows the application, the address the request came from and the time it was made, and confirms only when the person presses the button, so a mail scanner that follows the link signs nobody in.
- In the browser that asked, one button confirms. On another device, the person picks, out of three, the number the sign-in tab shows; a wrong number cancels the link.
- It wasn’t me cancels the link, and the sign-in tab stops waiting with a notice.
- The tab that asked is the one that signs in. The link’s page never opens a session: it tells the person to go back to the tab where they started, which notices the confirmation within seconds and carries on with the client’s next steps. A link confirmed after that tab was closed signs nobody in.
- The screen answers every name the same way, so it never reveals which accounts exist. Only an existing, active account receives the e-mail, and the link shares the code’s sending limits and attack protection.
- Confirming the link proves the inbox, so an address not yet confirmed is confirmed on the first sign-in.
- Further steps still apply: put
totp,pushorpasskeyafteremail_linkfor a second factor. Anmfastep beside it is refused. - Tokens report the magic link as
otpinamr, the same factor as the code by e-mail, and a magic link plus a code count as one factor inacr. Sessions name it e-mail (code or magic link). - A session that began with the magic link does not enter, through single sign-on, a client of the realm that asks for a password; the person signs in there again.
Email first, for organizations
In a client with Organization sign-in, the login step asks for the identifier first when the request names no organization, the realm accepts the e-mail address as identifier and it has an active organization found by e-mail domain, with a proven domain and an active provider offered. The password field shows only after the first submit.
- An address at a proven domain of such an organization is sent to its provider — straight to it when it offers one, to its screen when it offers several — with
organization=<handle>added to the request and, when the request had nologin_hint, the address passed on as one. - Any other address, or a name that is not an e-mail address, goes on to the password exactly as for an unknown domain. No account is looked up, so the answer is the same with or without one.
- The
email_codeandemail_linksteps find the organization the same way before they send the code or the link. - An organization with SSO required refuses its people a password, a code or a passkey once proven, with a button to its provider. See Organizations.
Configure the steps
Open the client’s login layout
In Clients, open the client and go to the Login layout section of its page. The steps come first, top to bottom in the order the screen asks for them.
Add, remove and order the steps
The steps in use are numbered rows: move each one up or down, remove it, and set Requirement and Registration for
passkey,totpandpushon its row. The steps not in use sit below, each with Add. Terms acceptance is a separate switch marked After sign-in; its documents and version are set in the client’s Configuration.Save
The new steps apply from the next sign-in. A client that uses the authorization code flow needs at least one step; the save is refused without it.
What the person sees
Around the steps, the sign-in screen offers:
- Remember me, which keeps the session after the browser closes.
- Forgot password?, which opens the password reset for this client.
- One Continue with … button per identity provider the client offers, under the sign-in button.
- Passkey autofill in the username field, when the client also has a
passkeystep. - Sign in with a code sent by e-mail and Sign in with your password instead, to switch between the two ways in when the client has both
loginandemail_code. - A link to the magic link and back, when the client has
email_linkbesideloginoremail_code: each way in offers the others. - Don’t have an account? Create one, when the client lets people sign up.
- Start over, which drops what was entered so far and reopens the first step with the same request.
- The account chooser, when the browser already holds more than one reusable sign-in.
An unknown username and a wrong password get the same answer, so the screen never reveals which accounts exist. Every other refusal is shown only after the password was accepted, and says what to do next:
| The person sees | Why | How it is resolved |
|---|---|---|
| Those details did not match | Wrong username or password. | Try again; repeated failures count toward the realm’s lockout. |
| Too many attempts | The account is locked by the realm’s lockout rules. | The message gives the duration; resetting the password gets in sooner. |
| Address not confirmed yet | The account’s e-mail address was never confirmed. | The screen offers to send the confirmation e-mail again. |
| No access to this application | The client admits only linked accounts and this one is not linked. | An administrator grants access from the client’s users. |
| This application is closed for now | The client is in quarantine to protect its accounts, and its mode does not let this person in. The screen also says when it opens again, when the quarantine has an end, and shows the quarantine’s own message, when it has one. | Access returns when the quarantine ends, at its time or by hand; its end can be moved meanwhile. |
| Confirm this location | First sign-in from a new address. | The screen waits and continues by itself once the address is approved. See address approval. |
| Account suspended | A suspension is in force. | The message says when it ends, and the reason if the administrator chose to show it. |
| Your password has expired | The realm requires periodic renewal. | The person is taken to renew it by e-mail. |
| This account is not active | The subscription behind the application has lapsed. | Sign-in resumes when the subscription is renewed. |
One refusal comes before any credential: while a client is in a quarantine in the Closed mode, its sign-in screen refuses as it opens and asks for nothing. Every refusal by a quarantine is recorded in the access log with the reason Client quarantined.
Failures that no retry can fix, such as a request whose client_id names a different client than the screen, replace the form with an error card that carries a reference code support can find in the logs.
Human check
When the deployment has Cloudflare Turnstile keys, the screens a script could abuse ask the browser to show that a person is behind it. The check appears:
- In the
loginstep, with the password. - In the
email_codestep, when the person asks for a code. - In the
email_linkstep, when the person asks for a magic link. - On Forgot password?, when the person asks for the reset e-mail.
- On the client’s sign-up screen.
- When an account is created in the console, at
/sign-up.
| Screen | What the person sees | Without Cloudflare’s answer |
|---|---|---|
| Sign-in, with the password, a code by e-mail or a magic link | Almost always nothing: the check runs in the background and asks for a tick only when Cloudflare is unsure. | The sign-in goes on, still guarded by attack protection. |
| Forgot password? | Almost always nothing, as at sign-in. | The screen refuses the request and asks for the check again. |
| Self sign-up and the console’s sign-up | The Turnstile box above the button, which usually confirms by itself in a few seconds. | The screen refuses the request and asks for the check again. |
- The check is drawn only when the deployment sets both
Turnstile__SiteKeyandTurnstile__SecretKey; without them, no screen asks for it. A dedicated environment draws it once both are set. - A script or content blocker that stops
challenges.cloudflare.comkeeps the widget from appearing, and every screen, the sign-in included, refuses the request until the person allows the address. The sign-in goes on without the check only when Cloudflare itself cannot answer. - Each answer from Cloudflare is good for one attempt, so after a refusal the widget runs again by itself.
- A passkey and the Continue with … buttons of the identity providers ask for no check.
- An account created through
POST /api/v1/admin/userswithout a session carries the token inhumanCheckToken; a missing or refused one is answered with `HumanCheckFailed`.
Branding
All hosted screens of a client wear its appearance: sign-in, recovery, terms, consent, errors, device verification and the account pages. You set it in the same Login layout section, under How the sign-in screen looks, a studio: Arrangement, Wording, Colours, Images and Custom CSS sit in a list, and the part picked is filled beside a sketch of the screen that follows every field. Light and Dark, at the top, switch the palette and the sketch together, and clicking the wording, the colours or the logo on the sketch opens its part.
On the shared platform, the hosted screens are always served from Authio’s address, which is also the issuer of the tokens. A domain of your own, such as auth.yourcompany.com, comes with the Dedicated plan: see Domains and email.
| Setting | What it controls | Limits |
|---|---|---|
| Arrangement | Panel beside (brand panel next to the form, the default), Centered (one column, card in the middle) or Cover (brand across the page, card raised over it). | — |
| Title and subtitle | The words above the form. | Up to 200 and 500 characters. |
| Colors | Primary, secondary and background, once for the light theme and once for the dark one. | Hexadecimal #RGB or #RRGGBB. |
| Logo and background image | Images loaded from your own URLs. Without a logo, the platform’s is shown. | Up to 500 characters; the background image must use https. |
| Custom CSS | Your own rules on top of the screens. | Up to 4,000 characters, sanitized (see below). |
Custom CSS cannot contain <, expression(, javascript:, vbscript:, behavior: or -moz-binding, and cannot load url() or @import over plain http. It is checked when you save and sanitized again when the screen is drawn. An @import (of a Google font, say) is moved to the top of the stylesheet, where browsers honour it. The screens’ own variables, such as --auth-font and --auth-radius-lg, are the safest thing to change. Draft with AI, under the studio, fills the appearance for both themes, typeface and corners included, from the brand’s website, the logo already in the form and a sentence about the brand. It reads only the page you give, at a public address, and saves nothing: check the sketch, then save.
A plan feature
features.AuthLayoutCustom). On other plans the console shows the Login layout section locked, with the reason and a way to the plans, and the API refuses appearance changes with AuthLayoutNotIncluded. See Plans and billing.When an authorization request names an organization with organization, that organization’s logo, primary color and background color replace the client’s; the arrangement, the texts and the CSS stay the client’s.
Light and dark
Pass theme=light or theme=dark on the authorization request to choose the palette people start with. The screens also have a toggle; a person’s own choice is kept in a cookie and wins until the next request that names a theme.
Sign-in e-mails
The e-mails people get while signing in carry the client’s brand too: the logo and colours of its appearance. The words of six of them can be the client’s own, in English and in Portuguese: e-mail confirmation, password reset, sign-in code, the magic link, verification code and the invitation to an organization. The E-mails section of the client’s page is a studio. The messages are listed beside the one open, each with its subject as it stands and a mark when it changed or has an error; the message open is drawn as an e-mail in the client’s colours, with the sender, the subject, the title, the opening and the button, and you write straight on it. The Placeholders are buttons that go in where the caret is, As it arrives shows the message as the platform draws it, with a sample code or link, and Send me a test sends it to your own address. The changes save from the page’s bar as a group of their own. At the foot of the studio, the AI writes the message that is open, in the language shown, from a sentence about the tone; nothing is saved until you save.
- Writing your own words needs the same plan feature that customises the sign-in screen (
features.AuthLayoutCustom). Without it the step is locked and the API refuses a save withAuthLayoutNotIncluded; words saved before keep going out, and going back to the platform’s words is always possible. - Only the words change. The link or the code, how long it holds, the security notice and the small print stay the platform’s, and every text is escaped before it is drawn.
- Use
{greeting}(the greeting with the first name),{name},{app}(the client’s name) and{realm}, and, in the invitation to an organization only,{organization}. Any other placeholder is refused, and so is text over more than one line or with<and>. - The subject and the title take up to 120 characters, the opening up to 600 and the button up to 40; none may be left empty. Only the e-mail confirmation, the password reset and the invitation have a button; the two code messages have a subject, a title and an opening. Use platform words puts the platform’s words in the fields; once saved, the message follows the platform again.
- The sender name set on the client goes on all of its e-mails. The sender address only does when the client sends through its own provider (MailerSend or SendGrid) and confirmed the address; otherwise the e-mails go out from the platform’s address.
The Admin API does the same under /api/v1/admin/realms/{realm}/clients/{client}/email-texts; on Node.js, @hyper.authio/admin calls it as admin.clientEmailText.list, save, reset, preview and sendTest, and admin.clientAiEmailTextDraft.draft (see The Admin API from the libraries). {kind} is EmailConfirmation, PasswordReset, SignInCode, SignInLink, VerificationCode or OrganizationInvitation, and {locale} is en or pt-BR:
| Endpoint | Permission | What it does |
|---|---|---|
GET /email-texts | client:read | Every message in both languages, with the platform’s words beside the client’s. |
PUT /email-texts/{kind}/{locale} | client:update | Writes the client’s words: subject, title, lede and, for the two messages with a button (EmailConfirmation and PasswordReset), button. A field that is empty, too long, spans lines, holds < or > or names an unknown placeholder is refused with EmailTextInvalid, naming the field and why; without the plan feature, with AuthLayoutNotIncluded. |
DELETE /email-texts/{kind}/{locale} | client:update | Goes back to the platform’s words. |
POST /email-texts/{kind}/{locale}/preview | client:update | Draws the message as it will arrive, with a made-up recipient, link and code, from the words in the body or, without them, the ones in use. |
POST /email-texts/{kind}/{locale}/test | client:update | Sends that preview to the address of whoever calls, never to an address the request names. |
POST /email-texts/{kind}/{locale}/ai-draft | client:update | Drafts the four fields from a tone of up to 300 characters. Nothing is saved. |
Languages
The hosted screens are written in English (en) and Brazilian Portuguese (pt-BR). The language is settled once per sign-in and kept across every step:
ui_localeson the authorization request, a space-separated list in order of preference.- The browser’s
Accept-Languageheader, respecting its weights. - English.
Errors are worded from their code in the visitor’s language. Every hosted page, the account pages included, also accepts ui_locales and theme directly in its address.
Parameters the screens read
Besides the standard OAuth parameters, these change what the hosted login shows:
| Parameter | Values | Effect |
|---|---|---|
ui_locales | en, pt-BR | Language of every screen in the sign-in. |
theme | light, dark | The palette the screens start in. |
display | page (default), popup | popup draws the screens centered, to fit a small window. |
response_mode | query (default), web_message | web_message hands the response to the window that opened the popup. |
prompt | login, select_account, consent, none | Ask for credentials again, show the account chooser, show the consent screen, or never show a screen. |
max_age | Seconds | A sign-in older than this is asked for again. |
acr_values | 1, 2, 3 | Asks for a stronger sign-in, best effort. See step-up. |
organization | An organization alias | Uses that organization’s branding and active identity providers; in a client without Organization sign-in, only those the client also offers. See Organizations. |
Sign in in a popup
To keep your page where it is, open the authorization request in a popup window. With @hyper.authio/client, createAuthorizationUrl({ popup: true }) builds it with display=popup, so the screens fit the window, and response_mode=web_message, so that, at the end, Authio posts the response to the window that opened the popup and closes it, instead of navigating the popup to your redirect URI. On .NET, IAuthioLoginClient does the same with Display = "popup" and ResponseMode = AuthioResponseMode.WebMessage. Your server keeps the transaction, and completes the sign-in with what the popup posted: handleAuthorizationCallback and HandleCallbackAsync take those parameters as they came.
The message is an object whose type is authorization_response and whose response holds code, state and iss (or error). It is posted only to the origin of the redirect URI the request named, so the page that opens the popup has to be on that origin. If no window is waiting — the popup was opened as a tab, or its opener navigated away — the popup falls back to an ordinary redirect.
import express from 'express'
import { createAuthioClient, type AuthioAuthorizationTransaction } from '@hyper.authio/client'
const authio = createAuthioClient({
issuer: 'https://authio.api.hyperio.tech/realms/acme',
clientId: 'acme-web',
clientSecret: () => process.env.AUTHIO_CLIENT_SECRET!,
checks: ['pkce', 'state', 'nonce'],
redirectUri: 'http://localhost:3000/callback',
})
const pending = new Map<string, AuthioAuthorizationTransaction>()
const app = express()
// The popup opens here and goes on to Authio with display=popup and response_mode=web_message.
app.get('/login/popup', async (req, res) => {
const { url, transaction } = await authio.createAuthorizationUrl({
scopes: ['openid', 'profile', 'email'],
popup: true,
})
pending.set(transaction.state!, transaction)
res.redirect(url)
})
// The page sends what the popup posted: code, state and iss, or error.
app.post('/callback/popup', express.json(), async (req, res) => {
const transaction = pending.get(String(req.body.state ?? ''))
if (!transaction) return res.status(400).send('Unknown sign-in.')
pending.delete(transaction.state!)
const { tokens, idToken } = await authio.handleAuthorizationCallback(req.body, transaction)
// Open the app's session for idToken!.sub and keep tokens, as after a redirect.
res.sendStatus(204)
})Both check state and iss, redeem the code with the PKCE verifier and validate the ID token, exactly as after a redirect. In the browser, outside Next.js, no Authio library opens the popup: the page opens the server’s route in a window, waits for Authio’s message and hands its response to the server, as below. Call the function straight from a click handler, or the browser blocks the popup.
const AUTHIO_ORIGIN = 'https://authio.api.hyperio.tech'
export function signInWithPopup(): Promise<void> {
const popup = window.open('/login/popup', 'authio-sign-in', 'popup,width=480,height=720')
return new Promise((resolve, reject) => {
if (!popup) {
reject(new Error('popup_blocked'))
return
}
async function onMessage(event: MessageEvent) {
if (event.origin !== AUTHIO_ORIGIN || event.source !== popup) return
if (event.data?.type !== 'authorization_response') return
window.removeEventListener('message', onMessage)
const answer = await fetch('/callback/popup', {
method: 'POST',
headers: { 'Content-Type': 'application/json' },
body: JSON.stringify(event.data.response),
})
if (answer.ok) resolve()
else reject(new Error('sign_in_failed'))
}
window.addEventListener('message', onMessage)
})
}@hyper.authio/provider-nextauth ships the popup flow ready-made in @hyper.authio/provider-nextauth/popup, with the code exchange still done by Auth.js on your server. See Next.js.Where accounts come from
An account reaches a realm in one of four ways:
- Created by an administrator in Users or through the Admin API.
- Imported from another provider. See User migration.
- Created on its first sign-in through an identity provider set to create accounts. See Social and enterprise sign-in.
- Created by the person on the client’s sign-up screen, when the client allows it. See Self sign-up.
Self sign-up
Under Configuration > Sign-up, a client chooses who may create their own account: Nobody (the default), Anybody, or Listed domains only. Once on, the sign-in screen shows Don’t have an account? Create one, which opens /realms/{realm}/clients/{client}/sign-up with the same authorization request.
- The person types their name and e-mail address and, when the client has the
loginstep, a password held to the realm’s rules. A client with onlyemail_codeoremail_linkcreates the account without a password. - The account is created unconfirmed and linked to the client, so Restrict to linked accounts lets it in. It opens once the person follows the confirmation link, or signs in with a code by e-mail or a magic link on a client with
email_codeoremail_link. - The screen answers every address the same way, "check your inbox". An address that already has an account receives a notice with the way to sign in, never a second account.
- Listed domains are matched exactly:
example.comdoes not admitmail.example.com, so list each one you want. - Each address receives at most 3 sign-up messages every 30 minutes, a source signing up many addresses is blocked by attack protection, and the plan’s user quota applies.
- On the shared platform the screen asks the person to pass a Cloudflare Turnstile check. A dedicated environment draws it once
Turnstile__SiteKeyandTurnstile__SecretKeyare set. See Human check. - The client needs the
authorization_codegrant and a step a new account can answer,login,email_codeoremail_link. The console’s own client never offers sign-up. - An address at a proven domain of an organization with SSO required is refused before anything is created or sent: the screen says such addresses sign in through the company’s provider.