microsoft / microsoft/work-iq

Feature Request: no-browser option for headless environment

Open
#46 3 comments 8 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

env:linux
Dominant language
PowerShell
Stars
1k
Forks
132
Avg merge
5d 19h
Merged PRs (30d)
6

Description

I’d like to use Work IQ inside a Docker container. However, the current authentication flow assumes that a browser can be opened, which makes it unusable in headless environments (specifically, I’m testing in a Docker container running on WSL).

It would be very helpful to add a --no-browser option that prints the authentication URL instead of launching a browser. That would allow authentication even in security-hardened containers (e.g., environments locked down to mitigate unexpected LLM behavior) where opening a browser is not possible.

Update: My primary goal is secure headless usage (e.g., Docker sandbox). --no-browser is just one possible UX; any secure mechanism that enables headless auth (including externally-provided token support) would meet the need.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Review the CLI's current browser-based authentication flow and how it behaves in Docker or other headless environments. Determine which secure headless mechanism best fits the request, such as printing an authentication URL or accepting an externally provided token, and verify that authentication completes without launching a browser.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, powershell
Domain
authentication, cli, security
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.