How to verify app which is currently using localhost [duplicate] - google-drive-api

This question already has answers here:
How to set up Google sheets API for personal use
(2 answers)
Closed last year.
I have NodeJS app which needs access to Google drive so I added sensitive scope of .../auth/drive, which needs verification by Google even when only running on localhost.
is there an easy way? either skip verification or verify in much simpler way, do hope Google can make my life easy! already took hours if not days to make signin working, now drive, what else ahead!

as pointed by Iamblichus, stackoverflow.com/a/69343557 is the solution

Related

How to change user & browser settings on Chromebooks from same domain [duplicate]

This question already has answers here:
Is there any way to use a script to enable a single flag on Google Admin Console?
(1 answer)
Reset a Managed Chrome Device with SDK using Google Apps Script
(1 answer)
Admin SDK Chromeosdevices method
(3 answers)
Closed last month.
I manage a schools computers that the students are using. Since its kids that are using them I need to restrict them somehow.
We are using Chromebooks with our own Google domain.
Is it possible to create a list with blocked URLs in a google spreadsheet and then run a script that update the settings for every OU in our domain (or the ones that I choses) with our blocked URLs?
So far I havent found anything that is pointing me in the right direction

Gsuite add-on : On Install - Sorry, unable to open the file at this time [duplicate]

This question already has answers here:
Google Drive Page Not Found - Sorry, unable to open the file at this time
(5 answers)
Closed 1 year ago.
I've created an add-on using the google app script and published it on gsuite marketplace.
When the browser has multiple users logged in and when I try to install the app, I get this message:
Sorry, unable to open the file at this time
This only happens when there are multiple gmail users logged into the same browser.
I'm not sure how to solve this issue. Any help would be appreciated.
Thanks in advance.
I might as well post this as an answer, as the problematic link is already displayed on the image:
When you have multiple accounts logged in to a single browser, the resolved link appends /u/0/, /u/1/, so on... to differentiate which account is to be accessed. However, it is maybe an unresolved bug, but it causes the "unable to open file" message to appear.
Referencing from this SO post, Google Drive Page Not Found - Sorry, unable to open the file at this time, the easiest workaround is to remove the /u/0/ or similar string from the resolved link.

Previously unobserved "Sign in with Google temporarily disabled" error [duplicate]

This question already has answers here:
"Sign in with Google temporarily disabled for this app" error when trying to authorize a script
(5 answers)
Closed 2 years ago.
we have a problem with the authorization of the script in a google spreadsheet. Script downloads data from other ad platforms. After signing up we get alert:
Sign in with Google temporarily disabled for this app. This app has not been verified yet by Google in order to use Google Sign In.
Until this time, there was no problem with authorization.
This is a bug:
This is a known issue some users have been experiencing in the last few months. It was reported on Issue Tracker some time ago:
Google Apps Script unauthorizable
While this hasn't been fixed yet, Google's suggested workaround, explained in this comment, is to switch your default project to a standard GCP project, following these steps:
Switching to a different standard GCP project
I'd suggest you to star the referenced issue in order to help prioritizing it.

How can I know when a user has closed a Google Drive Editor session?

I could poll the changes api, but I would never know when to stop polling it. I'm currently relying on polling the javascript popup window's closed property.
Sorry, this is not possible with the Drive SDK. The Drive SDK, and the Drive editors are both individual clients on the same data, and are not really connected like this.
Sorry.

navigator.geolocation.getCurrentPosition not allowed on "file:///C:/" based access [duplicate]

This question already has answers here:
Closed 11 years ago.
Possible Duplicate:
HTML 5 Geo Location Prompt in Chrome
I've been looking at geolocation in Html 5. I'm using Chrome (12) and am accessing the html file using a path like this: file:///C:/_Development/Examples/Html5/boilerplate.html
I'm getting the little geolocation icon in the search bar that says that the location has been blocked from tracking your location.
Note that I don't have any exceptions setup at all...
Can this be done or do I need to host the file on a web server? If it can't be done, why can't it be done?
Thanks
This is a duplicate of this question:
HTML 5 Geo Location Prompt in Chrome
It seems that chrome has security restrictions on accessing geolocation data locally. You need to host the file to use the data. A workaround with python is available in the previous question.