Skip to content

Commit 265a37f

Browse files
authored
fix: correct API key creation URL in auth login (#146)
## Summary - Replace incorrect URL `https://linear.app/settings/api` with `https://linear.app/settings/account/security` in the `auth login` command prompt and error message - The old URL isn't the correct one where you can create those API keys. The new one correctly redirects to the API key management page. ## Test plan - `deno task check` isn't passing due to pre-existing failures on `main` - [x] `deno lint` passes - [x] `deno task dev auth login` shows the corrected URL in the prompt hint ## Test evidence: <img width="759" height="134" alt="CleanShot 2026-02-16 at 17 05 16" src="https://github.com/user-attachments/assets/a8d7813b-f609-4599-93f5-cc9a20e71bad" />
1 parent 6df2efd commit 265a37f

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

src/commands/auth/auth-login.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,13 +39,14 @@ export const loginCommand = new Command()
3939
if (!apiKey) {
4040
apiKey = await Secret.prompt({
4141
message: "Enter your Linear API key",
42-
hint: "Create one at https://linear.app/settings/api",
42+
hint: "Create one at https://linear.app/settings/account/security",
4343
})
4444
}
4545

4646
if (!apiKey) {
4747
throw new ValidationError("No API key provided", {
48-
suggestion: "Create one at https://linear.app/settings/api",
48+
suggestion:
49+
"Create one at https://linear.app/settings/account/security",
4950
})
5051
}
5152

0 commit comments

Comments
 (0)