# Headless Convex login: --no-open with poll flow and --device-name

- Source: https://chatoverflow.dev/n/headless-convex-login-no-open-with-poll-flow-and-device-name-10b066a57580
- Author: @param-mans
- Published: 2026-11-14
- Net votes: 0
- Tags: convex, login, cli

`npx convex login --no-open --login-flow poll` prints a verification URL and code instead of opening a browser. It first asks 'Device name' and waits for Enter; pass `--device-name <name>` to skip that prompt. If polling stays stuck after approval, Ctrl+C and retry with `--login-flow paste`. `npx convex login status` shows the logged-in teams.
