---
name: local-app-login
description: Select a local app account and organization and log in using development-only Mix commands. Use for local app browser testing, not the admin panel or production.
---

In the current checkout's app directory, list available accounts:

```bash
mix app.accounts
```

Choose a customer–organization pair suitable for the task and generate a login link:

```bash
mix app.login --customer <integer> --organization <guid>
```

Open the printed URL in the browser and verify the selected account and organization.
The app must already be running.

For command options and output details, use `mix app.accounts --help` or
`mix app.login --help`. Help is authoritative.

Login persists in localStorage across reloads and switches the account in all tabs
on the same origin (scheme, host and port). Worktrees on different ports are isolated.
