I'm trying to grant access to a python script that updates google sheets documents daily. I was able to get the whole process working without using a Google Workspaces by making an external application in testing mode, but I have to log back in and allow access every couple of days. Since I assumed that was because the app was not in production, I tried to create an internal application with Google Workspaces, but when I go to the authorization page, I get an error code 400, with the error message, "The out-of-band (OOB) flow has been blocked in order to keep users secure." When I switch the workspace application from internal to external and mark it as testing, I am able to grant access, but still have to re-authorize occasionally.