We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 114ee3c commit b910595Copy full SHA for b910595
src/lib/utils.ts
@@ -300,7 +300,8 @@ export function setupOAuthCallbackServerWithLongPoll(options: OAuthCallbackServe
300
log('Auth code received, resolving promise')
301
authCompletedResolve(code)
302
303
- res.send('Authorization successful! You may close this window and return to the CLI.')
+ res.send('Authorization successful! You may close this window and return to the CLI.' +
304
+ '<script>window.close();</script>')
305
306
// Notify main flow that auth code is available
307
options.events.emit('auth-code-received', code)
0 commit comments