#2528·OpenCLI

[Bug]: 1point3acres whoami fails with AUTH_REQUIRED while the session is valid

Author: Benjamin-eecsCreated Sep 20, 2026Updated Sep 22, 2026

Description

1point3acres whoami reports AUTH_REQUIRED for a session that is actually logged in. auth status says logged_in: true and cookie-gated commands such as search work normally, so only the identity probe is wrong.

Root cause: verify1Point3AcresIdentity navigates to https://www.1point3acres.com/bbs/, which now redirects logged-in users to the redesigned /home SPA. That page carries none of the Discuz identity markup the probe looks for, so the probe falls through to its anonymous branch.

Steps to Reproduce

  1. opencli 1point3acres login and complete the WeChat scan
  2. opencli auth status reports 1point3acres: logged_in: true
  3. opencli 1point3acres search "O-1" --limit 5 returns results
  4. opencli 1point3acres whoami fails with AUTH_REQUIRED

Expected Behavior

whoami returns the logged-in user_id and username. A probe that cannot find the identity element should also not claim the user is anonymous, since it runs only after the *_auth cookie check has passed.

OpenCLI Version

1.8.7

Node.js Version

22.x

Operating System

macOS

Logs / Screenshots

$ opencli 1point3acres whoami
ok: false
error:
  code: AUTH_REQUIRED
  message: 1point3acres bbs rendered but no logged-in identity
  exitCode: 77

The redirect, observed in the same session:

https://www.1point3acres.com/bbs/                    lands on /home, no Discuz identity markup
https://www.1point3acres.com/bbs/?forum_ui=classic   classic UI, identity link present