You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
A stored auth.email_password_enabled re-advertises email and password on a cloud-managed runtime that declared it off #34174
Filing gate: ① a product defect, read from code at the pin and confirmed by the contract review of cloud PR #4589 (card cloud#4535), which judged it acceptable as a follow-up. The cloud half (hosted builds with emailAndPassword.enabled: false, and the relay refuses every password door) is PR #4589. Reader: the domain:server lane (plugin-auth).
Facts (objectstack at b914e72; read from code, not measured on a running stack)
plugin-auth/src/auth-plugin.ts ~L2518 (bindAuthSettings): an explicit email_password_enabled is applied with applyConfigPatch({ emailAndPassword: { enabled } }),
over the deployment's declaration.
getPublicConfig() (auth-manager.ts ~L5796) answers emailPassword.enabled from that patched
config.
sign-in-method-floor.ts refuses only turning the toggle OFF with nothing else in force;
turning it ON is never refused.
On a managed runtime the password doors are refused by the host (cloud relay, cloud#4468 /
cloud#4535), so a re-advertised form leads only to 409s.
Expected
On a cloud-managed runtime (isCloudManaged()), email and password stay off once the host
declares them off: the settings save of auth.email_password_enabled = true is refused (write
predicate, same door as the sign-in floor) or the key is not applied there, and /auth/config
keeps answering false. Self-hosted deployments keep the toggle as today.
POST admin/update-user: whether better-auth (the version at the pin) accepts data.password there was not readable in the review tree. If it does, the hash admits nobody on hosted (the relay refuses every password sign-in). It still belongs with this card: a managed runtime should not take a local password through any admin door.
Activity