node-google-apps-script icon indicating copy to clipboard operation
node-google-apps-script copied to clipboard

Referencing several OAuth2 clients?

Open ihommani opened this issue 7 years ago • 2 comments

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!

ihommani avatar Aug 25 '17 10:08 ihommani

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)

aurelienshz avatar Dec 08 '17 02:12 aurelienshz

Yes, you totally get it. Thx!

ihommani avatar Dec 08 '17 14:12 ihommani