Manage end users #
On this page
Prompt:
Invite sam@example.com to my app, and show me who has signed up so far.
Also works:
- "Suspend this user; they have been abusing the site."
- "Our sign-in keys may have leaked. Make every user sign in again."
- "Delete this person’s sign-in account from my app."
- "Keep people signed in for a week instead of a month."
Choose the application and environment first. Then follow the steps to invite people to your app, see who signed up, or suspend or delete an account. You can also choose how people sign in. Each environment has its own sign-in settings and users. Together these make up its realm. Calls use production unless you choose development.
What your AI does #
- Reads the
add-sign-inskill (read_context, idskill:add-sign-in) and follows it. - When you ask who is invited or who has signed up, calls
tzcloud_list_invitationsandtzcloud_list_end_users, followingnext_cursoruntil it isnull. - Stops a user from signing in or allows them to sign in again with
tzcloud_set_end_user_standing.standing: suspendedends their current sessions and blocks their next sign-in.standing: activelets them sign in again. Both are reversible actions and run without browser approval. - For a deletion, calls
tzcloud_delete_end_user, gives you the approval link, and reads the outcome withread_approval_statusafter you approve in the browser. No tool approves in your place. - For a suspected key compromise, calls
tzcloud_revoke_app_sign_in_keysfor the environment, and tells you that every user of that realm must sign in again. - Reads the realm with
tzcloud_read_app_sign_inbeforetzcloud_configure_app_sign_inchanges a setting, once for each environment's realm. - Asks you for each address to invite where the prompt gives none. It reports every value it configured, every invitation URL, and every change it made to a user's
standing.
What you need #
- For invitation-only sign-up, the email addresses to invite and a way to deliver each invitation URL yourself.
Before your AI starts #
Your AI assistant checks these requirements before starting.
- A connected, signed-in AI assistant (Connect your AI assistant).
- An application, whose identifier
tzcloud_list_applicationsreturns, and a manifest that declares the accounts service (Add sign-in to your app). - For this page's realm and end-user actions, leaving out
environmentselects production, excepttzcloud_revoke_app_sign_in_keys, which requires it.
Steps #
Name application in each call below. Choose production or, if it exists, pass environment: "development" for development. List the users in that environment before changing one, and use the ID from the matching list or creation result.
1. Invite people #
Call tzcloud_invite_end_user with the person's email, leaving out invitation. It returns an invitation with its id, email, single-use url, and expires_at, 14 days away by default. Turn Zero does not email the invitation. Send the URL privately to the person while you have it. Save invitation.id so you can look up or revoke the link later. Open sign-up needs no invitations, and the call refuses products for app users.
{ "application": "<application id>", "email": "sam@example.com" }
The link opens your application's sign-in page without showing invitation details. A used or expired link can look the same. Opening the link does not use the invitation. A new user can use it once to create an app user in the selected environment, after signing in with a method that verifies the invited address. Someone with a sign-in method already linked to their app user can sign in without using it. Open sign-up also allows a new user to sign in without an invitation. Make sign-up invitation-only turns invitation-only sign-up on.
A new invitation link uses the app’s sign-in hostname. For production, that is the custom domain once sign-in moves there. Links issued before the domain went live still point to the managed hostname, so send fresh invitations after the move. Links issued for the custom domain stop working when you detach it, so invite those people again.
If you lose a link that can still be used, find its ID with tzcloud_list_invitations for the same application and environment. Revoke it before issuing a new link if the earlier link should stop working. A new invitation leaves earlier links in place.
To revoke an unused link, pass its ID as invitation to tzcloud_invite_end_user. Leave out email and products. Read invitation.revoked_at. An already revoked invitation keeps its original revocation time. A redeemed link cannot be used again. If the response says the link was redeemed and invitation.revoked_at is null, the sign-in already admitted stays in effect. To end access, suspend the user or request browser-approved deletion. Send invitation links directly to the invited person.
An invitation issued before an application rename contains the old hostname, which no longer responds. Its token still works. If you kept the URL, replace the hostname with the new one before sending it. Otherwise revoke the invitation and issue a new one.
2. List invitations and users #
tzcloud_list_invitations takes an optional email, limit, and cursor, and returns invitations and next_cursor. Each row contains the identifier, address, times of issue, expiry, redemption, and revocation, redeemed_by, and a state of standing, redeemed, revoked, or expired. An email keeps only that address's invitations, ignoring case and surrounding spaces. When you pass next_cursor to get another page of invitations, repeat the same email filter. The URL is never returned again.
tzcloud_list_end_users takes an optional limit and cursor, and returns end_users and next_cursor. Each row contains id, created_at, standing, routes, email, and email_verified.
The row gives the first verified address. If there is none and all the user's sign-in identities are work accounts, the row can give an unverified address from the work-account tenant. email_source: tenant means the returned address came from that tenant. For that address, email_verified is true only if the tenant's token said the domain owner verified it. If there is no address to report, email is null and email_verified is false.
A test end user's row also has test: true and its expires_at. read_app_sign_in can count expired test users until cleanup removes them. list_end_users leaves them out as soon as they expire.
People who sign in the normal way, including human testers, have test: false. A test account created with tzcloud_add_test_end_users has test: true. Ask the owner which addresses belong to the human testers and match them to the list for that environment. At the owner's word, suspend or delete those users as step 3 describes. Deletion also needs browser approval. Turning development on leaves production's users in place.
A user who signs in by code with an address their Google or GitHub identity already verified reaches the same user, with the new route added, and routes lists it.
Both list actions return 50 rows by default and accept a limit from 1 to 200. Rows are ordered by creation time, then identifier. Pass next_cursor to get the next page. A null cursor means there is no next page. If the cursor's row no longer exists, start again from the first page. Separate requests do not share one snapshot.
3. Suspend, delete, or sign everyone out #
tzcloud_set_end_user_standingwithend_userandstanding: suspendedsuspends the user. The accounts service ends their sessions and removes their device registrations. New sign-ins are refused while the user is suspended. The tool returns the user's ID,standing: suspended, and the number insessions_ended. A router applies the revocation when it refreshes its list. It then rejects invalid bearers and may stop requests with invalid cookies at the audience check. On a request it forwards,x-turnzero-cloud-sessioncarriesinvalid. Your backend can still use a cached result from the verification route until that result expires.tzcloud_set_end_user_standingwithend_userandstanding: activelets the user sign in again. They use a fresh session and register their devices again.To delete a user, first read Remove the user's app records and files so you can keep the user ID for cleanup. Call
tzcloud_list_end_usersfor the application and environment you intend to change. Find the user and pass the returnedidasend_usertotzcloud_delete_end_user. Use a signed-in connection or a token minted withdestructive. Give the owner the browser approval link from the pending action. Keep the pending action'sidso you can check the outcome.Use
read_approval_statuswith thatiduntil the action ends. Leave outbrieffor the full outcome. When the action finishes, checkpending_action.outcome.deletedand readpending_action.outcome.removedfor any removal counts.If you use
request_id, the pending-action rule applies. For the same requesting account and action, a repeated identifier returns the existing record while that record is live: requested and not past its 24-hour expiry, approved, or executing. After it ends, the same identifier can start a new request. Read the approval and check the user's current state before repeating a deletion.After approval, deletion removes the app user, their sign-in methods, sessions, passkeys, and device registrations from the selected environment. It also removes their push delivery records. For a test user, it removes held sign-in codes and their tickets. The realm's event log, app usage records and invitation history stay. Follow Remove the user's app records and files for data your app keeps.
pending_action.outcome.removed.userscounts app users. The receipt also counts sign-in identities, sessions and passkeys, and its detail may report device registrations.tzcloud_revoke_app_sign_in_keyswithenvironment, which it requires, revokes every signing key of the realm, for a suspected key compromise. Every user of the realm signs in again. It returnsrevoked, the revoked key identifiers, andkeys_changed_at, which isnullfor a realm no one has signed in to yet.
Verifying an end user describes how a revocation and a key rotation reach the routers.
Remove the user's app records and files #
Deleting an app user removes the identity records described above. Clean up the app's own data separately. Agree on the records and files to remove with the app owner for each affected environment.
When a person asks for removal, confirm the application and environment. Ask whether they want to close their app user account, remove app data, or both. Have the owner verify who made the request and match it to the user's record in that environment. Use the verified user ID to find the records and files.
Confirm the user and what belongs to them. Before deleting the app user, note the
idfrom their row in that environment. Keep it with the app's matching row IDs and file names in a private cleanup record. Check for pending jobs and copies your app sent elsewhere. Keep records other people still need apart from the list to remove.A user can close their own app user account at
/__account/deleteon the app's hostname. The page asks them to sign in again to confirm, and that confirmation lasts five minutes. The app's own data still needs this cleanup. If the sign-in record is already gone, use the saved user ID or your app's verified ownership record to match the data. Ask the owner to confirm the match if you are unsure.Stop new writes for that user. Use your app's controls to block writes to the records being removed, including writes from queued work. If the identity is already gone, use the ID you recorded before deletion. If you cannot confirm which data belongs to the user, leave it in place until the owner can confirm the match.
Remove the agreed rows and files. Use your application's owner-only route or maintenance command. The read-only query action can check rows before and after the cleanup. It does not change data. For storage, use the exact area, file name and environment after checking the app's ownership records. Your app must check who can access each file, even in a storage area keyed by account. Follow Put, fetch, list, delete.
Check both outcomes. Read the identity approval's outcome separately. Check the app's rows with a read-only query and check its files using the same area and names you recorded. Keep the user ID until those checks finish. If any step failed or its reply was lost, read what remains before repeating that step.
For example, a notes app can list the notes owned by the user ID and match photo records to their stored file names. The owner can remove the private notes and photos while keeping shared files. Check both lists afterward and report anything the app still holds.
In a development test, create notes and photos for two test users. Run the cleanup for the first user and check that their agreed rows and files are gone. Check that the second user can still read their own data. Keep the first user's write block in place through the checks so queued work cannot bring the records back.
The identity receipt covers the identity records above. Check any app backups, logs or outside copies through the system that holds them.
4. Configure the realm #
Call tzcloud_configure_app_sign_in with the settings to change. Options you leave out keep their values, and a change takes effect at once, with no redeploy. tzcloud_read_app_sign_in returns the realm's settings, the declared native clients with each one's versions_seen from the last day, user and session counts, and the names of its secrets, never their values. Where the audience narrows the sign-in methods the realm offers, its detail says so.
Without application, tzcloud_configure_app_sign_in, tzcloud_invite_end_user, and tzcloud_list_invitations address the platform's own accounts, which only platform staff may change. Without the staff grant, the call returns grant_required if it reaches the staff check. A token scoped to one application returns token_scope_refused first. To change the settings or invitations for your app, name it in application.
The recorded manifest controls each field its realm member names. tzcloud_configure_app_sign_in refuses a call that would change one, manifest_owned_field; a call that repeats the recorded value passes. The member's clients names one list per environment, and the manifest controls each list only in that environment. To let tzcloud_configure_app_sign_in change a field again, remove it from the manifest and submit the manifest again. Configure sign-in and push in the manifest shows the member.
| Field | Owner | What it sets |
|---|---|---|
sign_in_methods |
The manifest, while its realm member names the field, for every realm at each submission. Otherwise tzcloud_configure_app_sign_in, on one realm per call. |
The complete list replaces the current list. Use google, github, passkey, email, entra, oidc, or apple. An empty list turns sign-in off. Use passkey only beside email and choose at most one of entra and oidc. Offer other sign-in methods. |
creation |
As for sign_in_methods. |
open or invited (Make sign-up invitation-only). |
entra |
As for sign_in_methods. |
The work-account route's tenant, client identifier, and client secret's name (Add work-account or Apple sign-in). |
apple |
As for sign_in_methods. |
Sign in with Apple's Services ID, team, key, and signing key's name (Add work-account or Apple sign-in). |
oidc |
As for sign_in_methods. |
The company OpenID Connect issuer, client ID, and client secret's name (Add work-account or Apple sign-in). |
limits.creation_ceiling |
tzcloud_configure_app_sign_in alone, for each environment. |
The most users the realm will create, a positive integer; 1,000 by default. |
limits.signin_starts_per_hour |
tzcloud_configure_app_sign_in alone, for each environment. |
Sign-in starts allowed from one source address per hour, a positive integer; 30 by default. An IPv6 address counts as its /64 network. An emailed-code start and a passkey sign-in each count as one start. |
limits.code_sends_per_hour |
tzcloud_configure_app_sign_in alone, for each environment. |
Emailed codes sent to one address per hour; 5 by default, 30 at most. |
invitation_days |
tzcloud_configure_app_sign_in alone, for each environment. |
Days an invitation lasts, a positive integer; 14 by default. It applies to invitations issued after the call. |
session_days |
tzcloud_configure_app_sign_in alone, for each environment. |
Days an end-user session lasts, from 1 to 30; 30 by default. Sessions opened after the call use the new value, and open sessions keep their expiry. A native app's session is extended by this many days at each refresh. |
session_cap_days |
tzcloud_configure_app_sign_in alone, for each environment. |
The most days a native app's session may run from its creation, from session_days to 730; 365 by default, checked at each refresh. |
clients |
The manifest replaces each environment's clients list at once at each submission. On development, tzcloud_create_environment applies the list when it adds the realm. Where the manifest omits the list, call tzcloud_configure_app_sign_in for one realm at a time. |
Up to ten native apps can sign in through the realm. Each client has a client_id and redirect_uris (Declare the client on each environment's realm). For a list in the manifest, send all listed clients with their manifest fields, in any order. The call changes only minimum_version and update_url. Resubmitting the manifest keeps those values. Omitting them from the call clears them. See Keep installed clients compatible. |
Under the workforce audience, only the declared tenant's staff may sign in. Leave creation at open, its default: each staff member's first sign-in creates their end user without an invitation. tzcloud_configure_app_sign_in refuses creation: "invited" while the realm still offers entra or oidc sign-in. It returns invited_realm_refuses_work_account. The realm's limits.creation_ceiling still applies.
The limits on emailed codes #
| Limit | Value | Refusal |
|---|---|---|
| Codes sent to one address per hour | limits.code_sends_per_hour, 5 by default |
signin_code_rate_limited |
| Wrong entries for one address per hour | 10 | signin_code_rate_limited |
| Codes one realm sends per hour | The realm's signin-code-sends-per-hour quota. An unset application quota uses 30. |
signin_code_rate_limited |
| Codes sent across the platform per hour | The mail quota left after the invitation, passkey notice, setup mail and balance warning reserves. At the default quota, 80. | signin_code_rate_limited |
| Emailed-code starts from one source address per hour, across every realm | A sixth of the platform-wide limit; 13 at the default quota | signin_rate_limited |
Only limits.code_sends_per_hour can be raised, up to 30. An emailed-code start also counts toward signin_starts_per_hour. That realm limit leaves the source address's platform-wide share unchanged. The code message is fixed text: the code, its ten-minute validity, a line for anyone who did not ask, and a line saying never to share the code. The sender name, subject and body show the application's short name. Both environments use that name. After a rename, the next message uses the new name. The sender address is no-reply@mail.ai.host on the production estate and no-reply@mail.dev.ai.host on the development estate.
Each environment's realm #
The application has one end-user realm for each environment. With only production, testers and live users sign in to the same realm. By default, development can have up to ten ordinary users. A sign-in that would exceed the current development limit returns 403 development_realm_full. Existing users can still sign in. Test end users count toward neither this limit nor creation_ceiling, so removing one will not free an ordinary user slot. tzcloud_list_end_users marks each test user with test: true, and tzcloud_read_app_sign_in counts them as counts.test_users.
For more than ten human testers, use production's realm, which has no development-realm limit. No setting you can change raises development's ten-user limit. Those testers become production end users, as step 2 explains.
Deleting the application deletes every realm. tzcloud_delete_environment removes only development, including its users, passkeys, and invitations. The application keeps production. tzcloud_create_environment starts a new development realm with open sign-up and stored defaults google, github, email, and passkey. It then applies the manifest's realm settings. An invited audience requires invitations, and the audience can narrow offered methods. Email codes need the platform's mail sender and code service. Passkeys need the email-code route. Restore other settings with tzcloud_configure_app_sign_in.
5. Passkeys for your users #
A passkey lets a user who signs in by emailed code sign in faster, so a realm offers passkey only beside email. Where it offers both, a user with no passkey is offered one after each sign-in by emailed code, and never after a Google or GitHub sign-in. A user who declines is offered one again after thirty days. Leaving passkey out of sign_in_methods turns off both that offer and passkey sign-in.
To remove email from sign_in_methods that lists passkey, remove passkey with it. The realm keeps its users' passkeys, unused, until both routes return. A realm whose stored sign-in methods list passkey without email serves no passkey route, and the detail of tzcloud_read_app_sign_in says so.
A user needs sign-in by emailed code to register a passkey. GET /__account/passkeys returns levers, the sign-in methods the user has, and passkey_registration. Use passkey_registration.admitted to decide whether to offer registration. If it is false, show the remedy. A user without sign-in by emailed code gets 409 passkey_requires_email from the registration routes. To add that method, sign in by code at the address that Google or GitHub verified. To finish registration, use the passkey offer from the sign-in that opened the current session, or re-authenticate and submit from the session that re-authentication proved within the last five minutes.
A passkey works only on the hostname where the user registered it. A development passkey works on the development hostname. Renaming the app changes its hostnames, so a passkey left on an old hostname can no longer sign anyone in. This is called a stranded passkey. The user can sign in another way and register a new one.
GET /__account/passkeys, under the person's session, lists it understranded, apart from thepasskeysthat still work.POST /__account/passkeys/remove-strandedwith itscredential_idremoves it under that session, with no passkey prompt. It returns the remaining lists.- A passkey that still works is refused there with 409
passkey_not_stranded. Ask the person to use ordinary removal and confirm with any usable passkey on the same account. If no passkey can confirm it, use the removal without the passkey described below.
A domain of your own moves production's sign-in to it: once it serves, passkeys registered on the managed production hostname stop working until you detach it (What changes for your users).
POST /__account/passkeys/remove-lost with its credential_id removes a passkey the person deleted from their device. It needs a session that signed in again in the last five minutes, as does registering a passkey outside the offer after a sign-in by emailed code. To sign in again from a live session, the person uses any of these routes:
GET /__account/start/<provider>?intent=reauth&return=app, which shows the provider's account picker and must return the same account; Sign in with Apple shows its own confirmation sheet instead, which counts the same;- a POST of
intent=reauthandreturn=appto/__account/email/start, which emails a code to the person's own verified address; POST /__account/passkeys/reauth/options, thenPOST /__account/passkeys/reauth, which confirms the person with another of their passkeys.
Where the person's verified address is at a domain that no longer publishes a mail server, that POST is refused email_domain_undeliverable on a page offering their provider and passkey routes instead.
The provider and emailed-code routes return to your application's root. A POST that sends the session cookie must come from your application's own origin. Your backend presents the session as a bearer token instead.
A passkey change can be undone for three days. GET /__account/passkeys lists each open change under revertible, and POST /__account/passkeys/revert with its change_id, under the same fresh sign-in, undoes it. Undoing a passkey change ends the user's existing sessions and opens a new session for the user who made the request.
After a passkey sign-in, the application's sign-in page tells the user's passkey provider which of their passkeys still work, counting a passkey whose removal can be undone until its three days end. Where a user picks a passkey the realm does not have and cannot restore, the page tells the provider it is unknown, and a provider that supports these signals can hide or delete it.
Passkey notices #
When a user registers or removes a passkey, the platform emails up to five addresses the user's identities have verified, oldest first. The notice uses the code message's sender address and shows the application's short name in its sender, subject and body. While backup mail is active, both emails show the platform's name and address. The notice says what changed and when. It says nothing is needed if the user made the change, and otherwise to sign in and review their passkeys. It contains no link or text the user typed. Users without a verified address receive no notice.
The platform removes a passkey whose user holds no emailed-code sign-in, at the latest the next time it is used, and announces and records that removal the same way.
Notices have their own limits, which you cannot change and which do not count toward the limits on emailed codes:
- at most five notice messages an hour across the platform, and two notices an hour for one user or account;
- a notice past the limit is queued and sent later, with several changes combined into one message;
- a notice still queued after seven days is dropped.
The change is recorded in the realm's event log either way.
6. Verify a session from the backend #
Your backend tells which user sent a request with the Account package's verification client, as Tell which user sent a request shows.
Expected result #
tzcloud_invite_end_user with email returns the invitation's id, email, single-use url, and expires_at, and its detail says nothing was emailed. When someone uses the invitation to create an app user, tzcloud_list_invitations shows redeemed, with redeemed_by naming that user. tzcloud_list_end_users shows the new user and their sign-in route. A returning user can sign in without using the invitation.
tzcloud_set_end_user_standing returns standing: "suspended" and sessions_ended for a suspension, and standing: "active" for a reinstatement. tzcloud_revoke_app_sign_in_keys returns the revoked key identifiers and keys_changed_at. tzcloud_delete_end_user returns a pending action with its approval link. After approval, read the full pending_action.outcome with read_approval_status. deleted: true confirms removal and the receipt gives the removal counts. If the user is gone when the platform rechecks the request at approval, the request can end as description_changed. If the user disappears after that check, the action can finish with deleted: false.
tzcloud_configure_app_sign_in returns the realm identifier, sign_in_methods, creation, the three limits, invitation_days, session_days, and the configured entra, apple, or oidc settings. It returns registration addresses under callbacks. callbacks.oidc is specific to the realm and environment. Register it separately for each environment you configure. The response's detail describes the saved configuration.
The realm keeps this configuration until a tzcloud_configure_app_sign_in call or an accepted tzcloud_submit_manifest changes it. The manifest changes only fields its realm member names. Deploying code changes none of it.
tzcloud_read_app_sign_in returns the realm for the selected environment, including the declared clients' versions_seen, the counts, and the secrets names, beside callbacks. Its page is the address of this guide. Check realm.effective_creation to see whether sign-up needs an invitation. Under an invited audience, it is invited even if realm.creation has another value. The response's detail explains the audience rule. If you are checking both environments, read each separately. See Make sign-up invitation-only.
Refusals #
See the refusals reference for other platform errors.
A refusal identifies the action, states the cause in its detail, and changes nothing. The management actions return the rows down to manifest_owned_field. The routes under /__account/ and the verification route return the rows after it. Add sign-in to your app lists the sign-in pages' other refusals, and Add work-account or Apple sign-in those of a stored client secret or signing key.
| Refusal | Status | Cause | Remedy |
|---|---|---|---|
invalid_request |
400 | A member is missing or malformed, such as an unknown route, limits.code_sends_per_hour over 30, or a stale cursor. The detail names it. |
Correct the named member and call again. For a stale cursor, start again from the first page. |
no_such_application |
404 | application is not one of the account's applications. |
Use the identifier tzcloud_list_applications returns. |
application_other_account |
403 | application names an application that another account holds, not the account the call is signed in as. The detail names the account the call acted as and nothing of the other one. |
Compare turnzero whoami --origin https://dev.turnzero.ai with read_account over your AI assistant's connection. Make the call from the one signed in to the account that holds the application. |
realm_not_declared |
404 | The manifest declares no accounts service, so the environment has no realm. | Declare {"kind": "accounts"} in the manifest, resubmit it with tzcloud_submit_manifest, and call again. |
environment_not_created |
409 | A realm action named development on an application with one environment, which has no development realm. A call to the verification route under a minted token or an account-wide credential that names development is refused the same way. |
Pass production, or leave environment out. To give development a realm of its own, call tzcloud_create_environment. |
no_such_end_user |
404 | end_user matches no user in that application's realm for that environment. |
Use an identifier from tzcloud_list_end_users for the same environment. |
not_found |
404 | tzcloud_invite_end_user named in invitation an identifier the realm does not have. |
Use an identifier returned by tzcloud_invite_end_user with email, or by tzcloud_list_invitations, for the same realm. |
grant_required |
403 | tzcloud_configure_app_sign_in or an invitation action was called without application. |
Name an application of your account. |
token_scope_refused |
403 | A token bound to one application named another application, or left out application. |
Use a token for this application or for the whole account, and name the application. |
manifest_owned_field |
409 | tzcloud_configure_app_sign_in would change a field the recorded manifest's realm member names (Configure the realm). On an environment whose clients the manifest lists, it would add, remove, or change a client beyond its minimum_version and update_url. The detail names each field and client. |
Change the field in the manifest and submit it with tzcloud_submit_manifest. Or remove the field from the manifest's realm member and submit it, after which tzcloud_configure_app_sign_in changes it. A client's minimum_version and update_url stay with tzcloud_configure_app_sign_in: to change only those, send each listed client's other members as the manifest lists them. |
realm_creation_ceiling |
403 | A sign-in would create more users than creation_ceiling, 1,000 by default. |
Raise limits.creation_ceiling with tzcloud_configure_app_sign_in, or delete users. |
user_suspended |
403 | A suspended user signed in. | Restore the user by calling tzcloud_set_end_user_standing with standing: active. |
passkey_requires_email |
409 | A passkey registration, at /__account/passkeys/register/options or /__account/passkeys/register, named a user who holds no emailed-code sign-in. |
The user signs in by code once at the address their Google or GitHub sign-in verified, which adds the code to their account, and then registers the passkey. |
key_revoked |
401 | The session's token was signed by a key tzcloud_revoke_app_sign_in_keys revoked; the verification route returns session_revoked. |
The person signs in again. |
signin_rate_limited |
429 | A source address passed signin_starts_per_hour, or its share of emailed-code starts in the hour across the platform. Passkey autofill has a separate limit of 120 requests per source address per hour on the application's sign-in page. Autofill requests count toward that limit only. The detail gives the share's number. |
Wait for the applicable hourly window or start sign-in from another network. You can raise the realm's per-source sign-in start limit with limits.signin_starts_per_hour. The share of emailed-code starts is fixed at a sixth of the estate-wide ceiling per source. The passkey autofill limit is fixed too. |
invalid_request |
400 | A request on the sign-in path, or to the verification route, contained a NUL character (U+0000) or an unpaired UTF-16 surrogate. Its detail, or the page a browser is shown, identifies the character rather than a member. |
Send the request again without the character. |
Related #
- Add sign-in to your app turns sign-in on, chooses the sign-in methods, and tells your backend which user sent a request.
- Make sign-up invitation-only limits sign-up to the people you invite.
- Add work-account or Apple sign-in adds a company's work accounts or Sign in with Apple.
- Test sign-in with test end users creates end users your AI assistant signs in with no mailbox, and removes them.
- Verifying an end user explains the session token and how a revocation reaches the routers.
- What happens without asking explains the pending action
tzcloud_delete_end_usercreates. - tzcloud_configure_app_sign_in, tzcloud_read_app_sign_in, tzcloud_list_end_users, tzcloud_invite_end_user, tzcloud_list_invitations, tzcloud_set_end_user_standing, tzcloud_delete_end_user, and tzcloud_revoke_app_sign_in_keys in the generated reference give each action's arguments and result.