Hello,
So I’m trying to set up a step wherein I use a Google Admin Workspace module to make an arbritary API call. Specifically I’m interested in removing/turning off a user’s 2 step verification as part of an off-boarding process. Unfortunately I’m running into a “[403] Request had insufficient authentication scopes.” error.
For my authentication: This is using custom Google user credentials (client ID/secret) with a created project on Google Cloud. The Oauth consent screen is setup and myself (a super admin within Google Workspace) is added as a test user to use it. The Admin SDK API is enabled and I have enabled two scopes:
/auth/admin.directory.user
/auth/admin.directory.user.security
For the API Call: I’m trying to use the twoStepVerification.turnOff
function as explained here:
https://developers.google.com/admin-sdk/directory/reference/rest/v1/twoStepVerification/turnOff
My current setup looks like the below on Make:
Of course, the “10. Created” value will be the user’s email address.
I have tried reauthorising the credentials in Make.com and I have also tried turning on “domain wide delegation” for the oauth credentials but this didn’t make a difference.
Thanks!