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
When calling authenticate, it attempts to open a browser to authorize the google application to access your data. However, in my case for some reason it was failing to open my browser on Fedora 41. There were no errors in the logs and it just hangs, presumably waiting for the user to interact with the browser.
I would like to print the auth URL as a fallback that can be copied into the browser. In my case, I modified index.js to be:
// open the browser to the authorize url to start the workflow
const authorizeUrl = client.generateAuthUrl({
redirect_uri: redirectUri.toString(),
access_type: 'offline',
scope: scopes.join(' '),
});
console.log("URL: " + authorizeUrl)
The text was updated successfully, but these errors were encountered:
What would you like to see in the library?
When calling
authenticate
, it attempts to open a browser to authorize the google application to access your data. However, in my case for some reason it was failing to open my browser on Fedora 41. There were no errors in the logs and it just hangs, presumably waiting for the user to interact with the browser.I would like to print the auth URL as a fallback that can be copied into the browser. In my case, I modified index.js to be:
The text was updated successfully, but these errors were encountered: