“Sign in with Google temporarily disabled for this app” error when trying to authorize a script

Update 1: As reported by RubĂ©n, Google says it won’t fix this – #163 Some workarounds are provided in #76, #145 and #150 – showing solutions like changing GCP and providing a oauth consent screen. Update: Switching Google cloud project from default to a standard project have resolved the issue for some users. This is … Read more

Force google account chooser

The following parameter is supported in OAuth2 authorization URLs: prompt Currently it can have values none, select_account, and consent. none: Will cause Google to not show any UI, and therefore fail if user needs to login, or select an account in case of multi-login, or consent if first approval. It can be run in an … Read more

How do I authorise an app (web or installed) without user intervention?

This can be done with the Oauth2 Playground at https://developers.google.com/oauthplayground Steps:- Create the Google Account (eg. [email protected]) – Or skip this step if you are using an existing account. Use the API console to register the mydriveapp (https://console.developers.google.com/apis/credentials/oauthclient?project=mydriveapp or just https://console.developers.google.com/apis/) Create a new set of credentials. Credentials/Create Credentials/OAuth Client Id then select Web application … Read more