This type of new redirect link to the new project is a new way to write permissions to google apps script.
This new way comes when you use the steps:
– create a document;
– write source code;
– try to have permission to google account;
This can be fixed using the old way by creating first the project and then use the Google Apps Script.
I don’t have all the information but any changes in flow development can be an insecure problem.
Take a look at giving the permission step: