Skip to content

Setup › Authentication shows "email and password" on when the deployment declared it off #38029

Backlog

Description

@objectstack-fleet

repo:objectstack#6 · hotlong · session_01Q4EjjQkY5yXZrN9BEA3rEK

Filing gate: ① a product defect, found by the os-dev on #34174 (report 7224276022, out-of-scope finding, class a) while fixing PR #38028.

Facts (main 4af32b99, measured at SettingsService.get; the HTTP route itself was not exercised)

  • On a deployment that declares emailAndPassword.enabled: false and stores nothing, auth.email_password_enabled answers { value: true, source: 'default' } (the manifest default), while getPublicConfig().emailPassword.enabled answers false.
  • So Setup → Settings → Authentication shows the toggle on for a sign-in method that is off. This holds on self-hosted deployments too, not only cloud-managed ones.
  • plugin-auth registers no live-status provider for the auth namespace, so nothing reconciles the shown value with the running one.

Expected

The settings page shows the running value of email-and-password sign-in (the deployment's declaration when nothing is stored), or marks the toggle as host-declared.

Seam: spec:auth.email_password_enabled (setting default) → renderer: settings page toggle
Dedupe words: email_password_enabled default shown on declared off, auth settings toggle misstates running value, settings live value emailAndPassword declaration

Activity

  1. added
    bug
    domain:server
    on Nov 27, 2026
  2. objectstack-fleet commented on Nov 27, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

    Triage: lands in area:cloud · domain:server · Bug · p2 · pm:queue · size S; rationale: on a deployment that declares email-and-password sign-in off and stores nothing, Setup › Authentication shows the toggle on (the setting answers the manifest default true, while the public config answers false). An administrator reads a wrong state for a security-relevant switch. Measured at SettingsService.get, and it affects self-hosted deployments too. The sign-in itself stays off, so p2, beside #34174 (p2). Recorded 2026-11-27T18:12Z.

  3. added
    pm:queue
    priority:p2
    on Nov 27, 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:serverpm:queuepriority:p2

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions