Passkey (WebAuthn) sign-in for accounts #334
Closed
opened 2026-11-09 13:54:03 +00:00 by jcoffey-dev
·
3 comments
No Branch/Tag Specified
main
spec/client-gateway
feat/singleton-role-lease
release/2026
merge/upstream-v1.0.0
upstream
next
v27.1-rc.39
v2026.11.20.2
v27.1-rc.38
v2026.11.20.1
v27.1-rc.37
v27.1-rc.36
v27.1-rc.35
v2026.11.20
v27.1-rc.34
v27.1-rc.33
v27.1-rc.32
v27.1-rc.31
v2026.11.18.3
v27.1-rc.30
v2026.11.18.2
v27.1-rc.29
v2026.11.18.1
v27.1-rc.28
v2026.11.18
v2026.11.17
v27.1-rc.27
v27.1-rc.26
v27.1-rc.25
v27.1-rc.24
v27.1-rc.23
v27.1-rc.22
v2026.11.11
v27.1-rc.21
v27.1-rc.20
v27.1-rc.19
v27.1-rc.18
v2026.11.10
v27.1-rc.17
v2026.11.9.2
v2026.11.9.1
v2026.11.9
v27.1-rc.16
v27.1-rc.15
v27.1-rc.14
v27.1-rc.13
v27.1-rc.12
v27.1-rc.11
v27.1-rc.10
v27.1-rc.9
v27.1-rc.8
v27.1-rc.7
v27.1-rc.6
v27.1-rc.5
v27.1-rc.4
v2026.10.29.1
v27.1-rc.3
v2026.10.29
v27.1-rc.2
v27.1-rc.1
v2026.10.28
v2026.10.19
v2026.10.16
v2026.10.15
v2026.10.12.1
v2026.10.12
v2026.10.10.1
v2026.10.10
v2026.10.9
v2026.10.8.1
v2026.10.8
v2026.10.6.3
v2026.10.6.2
v2026.10.6.1
v2026.10.6
v2026.10.5.1
v2026.10.5
v2026.9.30.2
v2026.9.30.1
v2026.9.30
v2026.9.29.2
v2026.9.29.1
v2026.9.29
v2026.9.28.6
v2026.9.28.5
v2026.9.28.4
v2026.9.28.3
v2026.9.28.2
v2026.9.28.1
v2026.9.28
v2026.9.27.2
v2026.9.27.1
v2026.9.27
v2026.9.26.1
v2026.9.26
v2026.9.25.1
v2026.9.25
v2026.9.24.4
v2026.9.24.3
v2026.9.24.2
v2026.9.24
v2026.9.23
v2026.9.22
v2026.9.20
Labels
Clear labels
bug
dependencies
documentation
duplicate
enhancement
good first issue
help wanted
invalid
needs info
question
security
translation
wontfix
Something isn't working
Dependency updates
Docs, README or site copy
Already tracked elsewhere
New feature or improvement
Good for newcomers
Contributions welcome
Not a valid issue
Waiting on the reporter for details
Needs an answer, not a code change
Security issue or hardening
New language or translation fixes
Will not be worked on
priority
p1
High priority
priority
p2
Medium priority
priority
p3
Low priority
Projects
Clear projects
No projects
Assignees
jcoffey-dev (John Coffey)
Clear assignees
No Assignees
jcoffey-dev
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: inbuxa/inbuxa-server#334
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Requested on the forum (t/242). Users want to sign in with passkeys directly against their mail account, for example a password-manager passkey for daily use and a hardware key as a backup, without running an external identity provider.
Our own implementation (no upstream code). Planned for the series after 27.1; spec first.
Scope:
Notes:
webauthn-rs(MPL-2.0) handles the protocol. The relying-party id comes from the server's public hostname, so changing it invalidates registered passkeys; the spec needs to cover that.Server side of passkeys is in
main(spec:docs/spec/features/passkeys.md, approved 2026-11-18):inbuxa:Passkey/getand/set(create starts a registration and returnsregistrationUrl; rename; remove ends the account's sessions),sysPasskey*permissions/passkey/register(password + TOTP, or an existing passkey, before the browser dialog), webauthn-rs 0.6.2POST /api/auth/passkeychallenge, no TOTP after a passkey, counter check, auditvia: passkeypasskeysAllowed/passkeyRpId/maxPasskeyson x:Authentication;passkeysAllowedoff switches on x:Domain and x:Tenant), no passkeys on external directories,auth.passkey-countereventKeeping this open for the pages:
inbuxa:objects aren't in the schema, so it needs its own passkeys panel on the account (list with name/state/usable/backedUp/createdAt/lastUsedAt, rename, remove; an admin can't add one for someone). The settings already show on the Authentication, Domain and Tenant forms from the schema;passkeyRpIdrefusals come back asinvalidProperties.inbuxa:Passkey/setcreate and opensregistrationUrlin a new window (ticket good 10 minutes, shown once), then refreshes the list when the window closes.forbiddenon create means passkeys are off for the account;overQuotameans the limit is reached.Passkeys are done across the suite:
inbuxa:Passkeymanagement #468; the registration page on the mail host #469; sign-in on the login page with autofill and a "Sign in with a passkey" button #470; the device flow, the on/off switches (server, tenant, domain) and audit #471.Passkeys cover browser and OAuth sign-in only; mail apps keep using passwords or app passwords. It ships in the next RCs of the server, console and webmail. Thanks to @StefanSa for asking in t/242.
Follow-up from the end-to-end check: with passkeys off for an account, the webmail and console offered "Add a passkey" and only said no after the click. The session now says up front whether adding is allowed and the account's limit (#474, spec PK-19), and the webmail (inbuxa/inbuxa-webmail#117) and console (inbuxa/inbuxa-admin#248) show the note instead of the add form. In the next RCs.