Make github-oauth device auth code always visible and non-duplicative from helper paths
#482
Replies: 2 comments
|
quick update on the state of things now that mise has it's own oauth: fnox still has the same helper-path issue that |
|
Opened PR #565 for the non-interactive-mode version of this: #565 The PR adds global This does not try to solve duplicate concurrent device flows yet; it focuses on the “don’t start interactive auth from a non-interactive helper path” behavior we discussed here. This comment was generated by Codex. |
Uh oh!
There was an error while loading. Please reload this page.
goal: fnox manages mise's GitHub token with an 8-hour
github-oauthlease:The problem I hit locally: when this lease needed first-time auth from my startup path, fnox opened the GitHub device page, but the 8-digit code was not visible in the terminal. Can also trigger multiple device flow browser opens
Result:
Requested behavior:
interactive auth requiredfnox: waiting for GitHub OAuth device authorizationauth already in progressPossible implementation:
/dev/tty; on Windows this could use the active console, such asCONOUT$or the appropriate console APIisatty(stderr), because stderr may be redirected while a controlling terminal is still availableresearched and drafted with Codex but reviewed and finalized by me
All reactions