Skip to content

This page is for integrators and developers who need the exact behaviour behind the user’s security settings and the reveal of protected values: which method the server picks, what is enforced where, and what the web portal and the mobile app do around each call.

The end-user view is Account Security & Revealing Protected Values. The step-up mechanism itself (challenge, verify, session storage, the three purposes Unmask, WorkflowAction and Decrypt) is specified in Sensitive Fields — Step-up unmask session and three purposes, one mechanism. OTP delivery, rate limits and passkeys on the server side are in Identity server.

  • Web: the User Preferences page at /user/profile, sections Profile, Account, Security (Password, Two-factor authentication, Passkeys) and Logins (Sessions, Attempts). The former /user/security route now redirects to /user/profile, so old bookmarks still land.
  • Mobile: the User Center, tabs Profile · Security · Logins Since 1.10. The user-options sheet no longer has a separate Security item; the reveal wizard’s “open Security” link goes to the tab.

Both clients call the same identity-service API, so a method or passkey set up on one is what the other sees. For a federated (SSO) account the Security section replaces the passkey card with the “managed by your organization’s identity provider” message.

MethodHow it appearsRemovable by the user
Authenticator app (TOTP) Since 1.8Enrolled by the user in Security.Yes. The only method a user can remove.
PasskeyRegistered per device in Security.Revoked individually in the passkeys card, not through the general remove action.
SMS / emailProvided by the organization from the phone and email on the account, when the domain enables them.No.
WhatsApp Since 1.10Offered when the organization has turned WhatsApp on and the account has a verified phone number.No. It appears and disappears with the setting and the verified phone.
PasswordNever chosen by the user. See Password fallback.—

The server decides which methods are available: TOTP once enrolled, SMS and email once the domain enables them, WhatsApp as above, passkey only while at least one is registered. When the last passkey is revoked, the client drops the passkey option at once, before the server’s cached state catches up.

One method is the preferred (default) method. The web card shows it with an “Enabled since” date; every other available method offers Set as default.

The user scans a QR code (or types the secret) and confirms with a 6-digit code. The web wizard asks for the account password first. The setup secret is short-lived (the mobile app states 10 minutes); if it expires before confirmation, the client restarts with a fresh secret and QR code instead of reporting a wrong code, since there is nothing left to confirm against.

Each passkey shows a device label and a device-type icon (phone, laptop or security key). The icon is a display hint only. Rows show when the passkey was created and last used, in local time. The web passkey-details dialog that listed a sign-in count is no longer opened from the card. The server’s count reflects genuine sign-ins, so a passkey synced across devices is not reported as unused.

The user’s saved default wins. With no default and both SMS and WhatsApp offered, the organization’s preferred phone channel is shown first. Once WhatsApp is available to a user it counts as an MFA method, so sign-in requires a second step even where the domain did not require one before. The mobile Security list skips any method the app does not know, which today includes WhatsApp. Send failures surface as MFA_WHATSAPP_SEND_FAILED. Operator setup: WhatsApp codes.

  • Confirming TOTP enrolment generates 8 one-time codes and returns them once. Afterwards only a status summary (generated when, how many remain) is available.
  • Regenerating replaces the whole set; every unused code of the old set stops working when the new set is issued. It requires fresh proof (a current TOTP code or the account password). An access token alone is not enough, so a hijacked session cannot silently rotate the fallback.
  • Two concurrent regenerate requests cannot both win: one succeeds and invalidates the codes the other would have returned. The mobile app reports the loser as “Codes were just regenerated elsewhere. Try again.”
  • Disabling TOTP also clears the recovery codes.
  • On mobile, Download opens the platform save dialog; cancelling it is a no-op.

Sessions lists every signed-in device or browser with device, OS, browser, first sign-in, last activity and whether it is the current session.

  • Ending another session revokes its tokens on the server first, then removes the row, so it stops working immediately.
  • Ending the current session is a real sign-out, because the token the page runs on is now dead.
  • If revocation fails part-way, the row stays, so the list never claims a session is gone while it can still be used.

Attempts is read-only by design: sign-in attempts from the last 60 days, newest first, with device, OS, browser, timestamp and outcome, including failed attempts by others. It pages (“Load more”) and shows no location. The underlying store is described in Authentication audit trails.

Requesting a reset replaces the previous link with a new one with a fresh lifetime (24 hours by default); the earlier link stops working, and asking again never extends an old link. Links issued before a deployment upgraded to a release with this behaviour (1.10, or the 1.4.118, 1.6.67 and 1.8.25 patches) stop working too. Server side: Password reset.

A browser whose last session belonged to an account that no longer exists signs in normally Since 1.10. See Session holding another account’s grant.

The wizard is the same on web and mobile:

  1. Duration. 2, 5, 10, 30 or 60 minutes, or 3, 4, 6 or 8 hours. The list mirrors the identity service’s allow-list exactly; anything else is rejected with INVALID_DURATION. (The 1.8 cycle corrected an inconsistent list some clients showed; mismatched options would indicate drift.)
  2. Challenge. The client requests a challenge for the chosen duration and the server picks the method: normally the preferred one, falling back through the available ones if it is unusable. Then the user either:
    • enters a code: for SMS, WhatsApp or email a code is sent to a masked destination; for TOTP nothing is sent. The code length is whatever the server reports for the challenge;
    • enters the password, if the server chose the password fallback (no code, no resend, no method switch);
    • switches method, which restarts the challenge. Passkey is never offered as a switch target for reveal, on either client;
    • resends a code for a sendable method once the server-reported cooldown has passed.
  3. Window. Values render unmasked for the chosen duration until it expires or the user ends it. Ending early applies on the device immediately, before the server confirms.

The web portal opens the same wizard from a masked field’s eye button (tooltip Unmask) and from the profile menu (Unmask / Disable unmask).

Scope caveat. A reveal currently covers every sensitive field the user is entitled to, not just the field whose eye was selected. Per-field scoping exists internally but nothing in the shipped experience narrows it.

Mobile immediacy Since 1.8. A granted field unmasks in place as soon as the reveal succeeds; it no longer needs the entry or list to be reopened. Mechanism: Clearing a stale mask stamp on reveal.

The server may ask for the account password instead of an MFA code when all hold: the user has no usable MFA method (MFA_NO_METHOD), the domain has opted in (allowPasswordStepUp, off by default; Allow Password Step-Up in Identity providers), and the account has a local password. The client never offers it as a choice; it renders a password field when the server selected it.

If the server reports no usable method, or a federated/SSO account (EXTERNAL_USER_FORBIDDEN), the wizard says reveal is unavailable instead of showing a broken challenge. Only for “no method set up yet” does it offer to open Security; for a federated account or an unsupported method it does not, because enrolling there would not help.

Too many wrong codes or passwords, or too many challenges too quickly, lock input until a server-reported time. The limit is account-scoped: it is the same per-account limiter general MFA uses, so another session gives no fresh allowance. If the server does not say when the lock lifts, the client assumes a short default wait. If the pending challenge expires or is invalidated meanwhile, the wizard restarts the verification step instead of failing.

Independently of the countdown:

  • Backgrounding and resuming the mobile app. On resume, values render masked first, then the app re-confirms with the server whether the window is still open. It never assumes the window survived.
  • Signing out, a forced sign-out, switching spaces, or starting or ending a delegated session closes the window on the device at once, without waiting for the server, so acting as someone else never inherits a window.
  • A masked value seen while the client believed it was revealed is taken as authoritative: the client closes the window and re-checks.

No reveal state is stored on the device between sessions; every launch starts masked and asks the server. Wiring: Sensitive-value reveal wiring.

The mobile app tracks whether a secret is on screen: an open reveal window, or a visible authenticator enrolment code. Today this only suppresses the screenshot a crash report would otherwise attach. No platform screen-capture block is wired to the reveal window, so a manual screenshot or screen recording while a value is revealed is not prevented. See Screen-privacy guard.

A field is either Sensitive or Encrypted, never both. An encrypted value is stored encrypted at rest, so its reveal is a separate path with no duration and no window, and it requires its own step-up check. (Encrypted fields arrived on the development line before 1.10 with a grant-only, check-free decrypt; that behaviour never shipped in a release.)

  • Affordance. With a decrypt grant, the field shows an eye (tooltip Decrypt) beside ****. Without the grant, a lock icon and nothing to select. A field rendered as a password never offers decrypt, even if marked Encrypted, because its stored value is a one-way hash; the decrypt endpoint also rejects that case.
  • Web. The eye opens the step-up prompt (Verify your identity) with the same method-selection rules as the reveal wizard, scoped to this one reveal. On success the value replaces the mask in place. Without entitlement the client does nothing rather than show an error, since the lock icon already said so.
  • Mobile. Tapping the masked value opens the same verification sheet the app uses for a step-up workflow action; the screen reader label is “Encrypted field, value hidden. Tap to decrypt”. A cancelled or failed prompt leaves the field masked. Implementation: the per-field decrypt cubit.
  • Single-use. The proof is spent on redemption, valid for about 120 seconds if unused, and bound to one field (and, inside a repeatable block, one row). A second field, or a reload, needs a fresh prompt.
  • Visibility. The decrypted value stays while the field is on screen. Navigating away, scrolling it out of view, or reloading re-masks it. Nothing about the reveal is persisted on the device or the server.
  • Audit. Every successful decrypt is written to the audit trail as Decrypted Data; the identity check is recorded separately, success or failure. The value itself is never recorded, only who, when and which field.
  • Failures. A caller without the grant gets the same refusal every time and is never locked out (there is nothing to guess). A caller with the grant who fails the check repeatedly hits the account-scoped limit described under Lockout.

Endpoint and proof binding: Decrypting a value.

Platform 1.10.0 · Backend 1.11.0-alpha.11 · Frontend 1.11.0-alpha.6 · Mobile 1.10.2 · Chart 1.11.8 · Gateway 2.6.11 · MCP 0.2.0 · Grafana DS 1.2.0Docs build 2026-11-27