License key for Gmail Add-on

146 views
Skip to first unread message

Iel testaddon

unread,
Feb 24, 2023, 6:53:50 AM2/24/23
to Google Apps Script Community
Hey Team,
I’m developing a Gmail Addon which would need a license key to work so that unauthorized user can’t access it.
For an organization it would be a headache to ask their employees to enter the license key in the add-on. Is there a way by which the organization admin can set the license key after admin downloads the add-on from marketplace and before admin makes it available to all their employee’s Gmail accounts?

Paul Armstrong

unread,
Feb 27, 2023, 1:17:52 AM2/27/23
to Google Apps Script Community
Hi
In the Project Settings of your Add On's App Scripts editor, at the bottom, is a place to add Script Properties, which is for this sort of thing. It would be up to the admin at the client site to set this. I have not used it this way, so there may be some more steps to get it into a deployed version. But I think this is where to start. 
Screenshot 2023-02-27 at 19.14.50.jpg

Iel testaddon

unread,
Mar 6, 2023, 6:33:41 AM3/6/23
to Google Apps Script Community
Thanks for the reply. I shall check.
Reply all
Reply to author
Forward
0 new messages