I am having troubles with the resetAuth() function. I implemented it roughly like this example, but I have no idea when it is being called. Adding a console output
resetAuth()
resetAuth is called when the user revokes access to the connector via the https://datastudio.google.com/datasources/create endpoint.
resetAuth
There was a bug that caused this function to not be called for certain auth types, but it has been resolved.