Hello,
I have encountered a very strange OAuth authorization issue with Google Apps Script.
Environment:
- Personal Gmail account
- Windows 11
- Latest Google Chrome
- Container-bound Apps Script
- Default Google Cloud Project
- No custom OAuth client
- Advanced Protection is NOT enabled
Problem:
Every Apps Script project fails during authorization.
Even a brand new spreadsheet with a brand new Apps Script project containing only:
function test() {
SpreadsheetApp.getUi();
}
fails before execution.
After clicking "Review permissions", Google immediately redirects to:
https://accounts.google.com/signin/oauth/warningand displays:
"This app is blocked.
This app tried to access sensitive information in your Google Account.
To keep your account safe, Google blocked this access."
There is NO "Advanced" button and no way to continue.
What I tested:
✓ New spreadsheet
✓ New Apps Script project
✓ Default Cloud Project
✓ Incognito mode
✓ Different browser
✓ Different Chrome profile
✓ Security check completed
✓ Advanced Protection is NOT enabled
✓ @OnlyCurrentDoc annotation tested
✓ Other Google services authenticate normally
Most importantly:
The EXACT SAME script works immediately using another personal Gmail account on the SAME computer and SAME browser.
Therefore this appears to be related only to my Google account.
This issue has existed for approximately 3 years.
Has anyone encountered this before?
Is there any way to reset the OAuth authorization state for my Google account?
Thank you.