node-google-apps-script
node-google-apps-script copied to clipboard
Referencing several OAuth2 clients?
Hi, When launching an authentication step with an already existing .gapps folder, we get a message with the impossibility to finish the authentication. That means that to push several appscript projects, it needs to belong to the same Google project. Do we plan to allow several authentications to allow a push on several projects (a prompt being displayed if we need to choose which project we have to push the modifications)
thx!
to push several appscript projects, it needs to belong to the same Google project
More precisely, the account with which you are logged in must have write permission on the Google Script project to which you want to push.
We are talking about two conceptually different features here : one is the ability to authenticate with different accounts, and the other is to be able to push to different projects. I feel like the "pushing to several different projects" feature is more needed (since you could give write access on all your projects to your currently authenticated account using Google's share feature). I might try to put together a PR about this (I need it too :smile: ). Stay tuned! (and any input is of course welcome)
Yes, you totally get it. Thx!