When authenticating via CLI, the login page called api.verifyCode() directly and redirected to the CLI callback without saving the JWT to localStorage or setting the logged-in cookie. This meant the browser had no session after CLI login, forcing users to log in again when visiting multica.ai. Now the token is saved to localStorage and the cookie is set before redirecting to the CLI callback, so both CLI and web app share the same authentication. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| web | ||