apps-script-oauth2
apps-script-oauth2 copied to clipboard
Error in doc, closing tab with window.top.close() seams to not working anymore
Hi, I'm working on a gmail addon and I can't automaticaly close my popup that say that the connexion worked. I tried 2 methods:
- window.top.close(), which seems to not working anymore in 2021 with the new restriction google chrome put on iframes.
- google.script.host.close(), which return that it is not a function, and by looking in the google object, it seems like their is no close method.
Can you please update the doc, or even better provide the new method to auto close our popup? Thanks in advance