Skip to content

Conversation

AlnisS
Copy link
Contributor

@AlnisS AlnisS commented Jul 5, 2022

Previously, the getService method was public in most of the samples, letting any user of any sample application execute the method using google.script.run to exfiltrate the OAuth Client ID and Secret from the server. Now, these methods are made private by appending an _ to their names, preventing this issue.

closes #378

Previously, the getService method was public in most of the samples, letting any user of any sample application execute the method using google.script.run to exfiltrate the OAuth Client ID and Secret from the server. Now, these methods are made private by appending an _ to their names, preventing this issue.
@AlnisS
Copy link
Contributor Author

AlnisS commented Jul 5, 2022

Issue: #378

@jpoehnelt jpoehnelt merged commit a5480c1 into googleworkspace:master Jul 27, 2022
sqrrrl pushed a commit that referenced this pull request Aug 2, 2022
…379) Previously, the getService method was public in most of the samples, letting any user of any sample application execute the method using google.script.run to exfiltrate the OAuth Client ID and Secret from the server. Now, these methods are made private by appending an _ to their names, preventing this issue.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

2 participants