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 0ec84ee commit d3d262bCopy full SHA for d3d262b
1 file changed
src/services/google.ts
@@ -16,6 +16,7 @@ import * as http from 'node:http';
16
import * as url from 'node:url';
17
18
const DEFAULT_TIMEOUT_MS = 8000;
19
+const LOGIN_TIMEOUT_MS = 120000;
20
const OAUTH_SCOPES = [
21
// User info (for credential validation)
22
'https://www.googleapis.com/auth/userinfo.profile',
@@ -570,7 +571,7 @@ class GoogleServiceSession extends BrowserFollowupServiceSession {
570
571
const redirectUri = `http://localhost:${port.toString()}/oauth2callback`;
572
573
// Start the callback server
- const serverPromise = startOAuthCallbackServer(port, 120000);
574
+ const serverPromise = startOAuthCallbackServer(port, LOGIN_TIMEOUT_MS);
575
576
// Build OAuth authorization URL
577
const authUrl = new URL('https://accounts.google.com/o/oauth2/v2/auth');
0 commit comments