You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/sim-cli/src/auth/oauth-flow.ts
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -432,7 +432,7 @@ function listenForCallback(
432
432
finish({
433
433
ok: false,
434
434
error: newSimApiError(
435
-
`Timed out after ${Math.round(timeoutMs/60000)} minutes waiting for the browser. Run sim login again, or use --browserless if this terminal's browser cannot reach it.`,
435
+
`Timed out after ${Math.round(timeoutMs/60000)} minutes waiting for the browser. Run sim login again, or use --method api-key if this terminal's browser cannot reach it.`,
436
436
0
437
437
),
438
438
}),
@@ -567,9 +567,9 @@ export async function loginWithBrowser(
567
567
568
568
/**
569
569
* Whether this terminal's browser is unlikely to reach a loopback listener on
570
-
* this machine: an SSH session, or a Linux box with no display. The signals
571
-
* Railway and Stripe use to auto-select their pairing flows; `--browserless`
572
-
* forces it and `--callback-port` overrides the guess.
570
+
* this machine: an SSH session, or a Linux box with no display. An explicit
571
+
* `--method` selects the flow without this guess; `--callback-port` opts into
572
+
* OAuth when a forwarded port makes the loopback listener reachable.
0 commit comments