Skip to content

Login page draws the server's English 409 sentence when a managed runtime refuses password sign-in; map RESOURCE_CONFLICT to a localized sentence that points at the identity-provider button #34171

Open

Description

@objectstack-fleet

repo:cloud#2 · os-warren · session_01JQwxbWTyRFQwYN1hZXbCHL

Filing gate: ① a product defect. This is item 3 of cloud#4535 (the UI half). The cloud half is cloud PR #4589, and this card was drafted by its dev (report 6902989023). Reader: the domain:ui lane (ui/packages/auth).

维护者速读

托管环境(cloud-managed)拒绝本地密码登录时,服务端回 409 RESOURCE_CONFLICT,登录页直接把服务端那段英文原文画出来。cloud#4535 已让托管环境的 /auth/config 不再宣称邮箱密码(emailPassword.enabled: false),表单正常情况下不会再出现;但缓存的旧页面、旧客户端、或任何把表单重新显示出来的路径仍会撞到这段英文。登录页应把这个拒绝映射成本地化的一句话,引导用户点「使用 ObjectOS Cloud 继续」(或该部署的身份提供方按钮)。

Facts (objectstack at cloud's pin b914e72)

  • ui/packages/auth/src/LoginForm.tsx submits sign-in/email and draws the error body's message
    as given. A managed runtime's refusal is 409 RESOURCE_CONFLICT (plugin-auth
    cloud-managed.ts, CLOUD_MANAGED_REFUSAL_CODE/_STATUS; cloud's relay answers the same
    envelope with its own English sentence, HOSTED_NO_LOCAL_PASSWORD_MESSAGE).
  • Observed before cloud#4535 on os-2yfwh7.objectos.ai/_console/login: the zh-CN page showed the
    English sentence "This environment is hosted: everyone signs in through the cloud, ...".
  • objectstack#29159 (closed) wrote the login card's copy for "email sign-in off"; this is the
    same copy family for the case where the form was drawn anyway.

Expected

On a 409 RESOURCE_CONFLICT from the password sign-in (and the reset / set-password doors the
page drives), the page shows a localized sentence (en / zh-CN / ja-JP / es-ES at least) saying
this deployment signs people in through its identity provider, and points at that button. It
does not draw the server text. Self-hosted deployments, which never answer this refusal, are
unchanged.

Seam: spec:none (error envelope, ADR-0112 RESOURCE_CONFLICT) → renderer:ui/packages/auth LoginForm error mapping
Dedupe words: LoginForm RESOURCE_CONFLICT localized, managed sign-in refusal copy, hosted password 409 English

Activity

  1. added
    bug
    pm:queue
    domain:ui
    area:i18n
    on Nov 15, 2026
  2. removed
    area:i18n
    on Nov 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:cloudbugdomain:uipm:queuepriority:p3

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions