Passkeys: say up front when adding one would be refused #117

Merged
jcoffey-dev merged 1 commits from feat/passkeys-off-upfront into main 2026-11-19 05:49:18 +00:00
Owner

Part of #334. Found in the passkey click-through: with passkeys off for the account, Settings › Security › Passkeys offered the add form, and clicking opened a blank window that closed again before "Passkeys are turned off for this account."

  • Reads passkeysAllowed and maxPasskeys from the session's urn:inbuxa:jmap capability (inbuxa-server passkeys spec PK-19, server PR to follow).
  • Off: the note shows in place of the form. At the limit: the limit note does. Existing passkeys stay listed with rename and remove.
  • A server that doesn't send the fields: the form shows as before, and the server's refusal still says why.
  • Reuses the two existing translated strings, so no new catalog entries.

Checked locally: typecheck, web tests (1608, one new), server tests (316), release-version, build, i18n check (1760/1760).

Part of #334. Found in the passkey click-through: with passkeys off for the account, Settings › Security › Passkeys offered the add form, and clicking opened a blank window that closed again before "Passkeys are turned off for this account." - Reads `passkeysAllowed` and `maxPasskeys` from the session's `urn:inbuxa:jmap` capability (inbuxa-server passkeys spec PK-19, server PR to follow). - Off: the note shows in place of the form. At the limit: the limit note does. Existing passkeys stay listed with rename and remove. - A server that doesn't send the fields: the form shows as before, and the server's refusal still says why. - Reuses the two existing translated strings, so no new catalog entries. Checked locally: typecheck, web tests (1608, one new), server tests (316), release-version, build, i18n check (1760/1760).
jcoffey-dev added 1 commit 2026-11-19 05:46:34 +00:00
Passkeys: say up front when adding one would be refused
ci / node (pull_request) Skipped
ci / version (pull_request) Skipped
ci / docker-build (pull_request) Skipped
ci / publish (pull_request) Skipped
github/ci (branch) GitHub Actions
ci / github (pull_request) Successful in 2m14s
ci / announce (pull_request) Skipped
0767e79daf
The session's urn:inbuxa:jmap capability now carries passkeysAllowed and
maxPasskeys (inbuxa-server passkeys spec PK-19). When passkeys are off for
the account, Settings > Security > Passkeys shows that note instead of the
add form, and at the limit it says so too, so there's no blank window that
closes again. Existing passkeys stay listed with rename and remove. A server
that doesn't send the fields gets the add form as before.
jcoffey-dev merged commit f9e13e3baf into main 2026-11-19 05:49:18 +00:00
jcoffey-dev deleted branch feat/passkeys-off-upfront 2026-11-19 05:49:18 +00:00
Sign in to join this conversation.