Goal:
Use Google APIs with multiple different users of the same organization.
Steps:
- I followed the instructions given here: Using Google Drive in Retool: Configuring OAuth, Viewing & Creating New Files
- I am the admin of the cloud/console
- The authentication works:
- If I am using Retool logged in with the admin account, I can execute all API calls as expected
Now I want my other users to use the apps with the API functionality.
I have changed the callback in the cloud to: https://oauth.retool.com/oauth/oauthcallback as described in the document above.
I can connect and I am still connected if I open Retool from another user account:
![image](https://community.retool.com/uploads/default/original/3X/e/d/ed713a685b240fd69080666366045eea23f4c3ce.png)
But if I run the app and run a query/API call, I get the following debug message:
The files I am trying to access are shared on my google drive:
Any pointers welcome!