I have web app, which requires users to authenticate using google's oauth2. Assuming that the user is admin in his organization and that I have his access token at hand, how can I add ServiceAccount's ClientId to the Authorized API Clients list in the admin console programmatically?
I'm doing this with .NET 4.6.1, but any solution would be helpful.
It should be added here: Print screen of the Google Admin's Manage API client access