Skip to content

Commit a4c7b54

Browse files
docs: reorder authentication methods in Copilot CLI README for clarity
1 parent 4e6591b commit a4c7b54

File tree

1 file changed

+3
-3
lines changed
  • registry/coder-labs/modules/copilot-cli

1 file changed

+3
-3
lines changed

registry/coder-labs/modules/copilot-cli/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ module "copilot_cli" {
3030
- **Node.js v22+** and **npm v10+**
3131
- **[Active Copilot subscription](https://docs.github.com/en/copilot/about-github-copilot/subscription-plans-for-github-copilot)** (GitHub Copilot Pro, Pro+, Business, or Enterprise)
3232
- **GitHub authentication** via one of:
33-
- Direct token via `github_token` variable
3433
- [Coder external authentication](https://coder.com/docs/admin/external-auth) (recommended)
34+
- Direct token via `github_token` variable
3535
- Interactive login in Copilot CLI
3636

3737
## Examples
@@ -169,8 +169,8 @@ module "copilot_cli" {
169169

170170
The module supports multiple authentication methods (in priority order):
171171

172-
1. **Direct Token** - Pass `github_token` variable (OAuth or Personal Access Token)
173-
2. **Coder External Auth** - Automatic if GitHub external auth is configured in Coder
172+
1. **[Coder External Auth](https://coder.com/docs/admin/external-auth) (Recommended)** - Automatic if GitHub external auth is configured in Coder
173+
2. **Direct Token** - Pass `github_token` variable (OAuth or Personal Access Token)
174174
3. **Interactive** - Copilot CLI prompts for login via `/login` command if no auth found
175175

176176
> [!NOTE]

0 commit comments

Comments
 (0)