Automatic authentication with gsuite

HI Could you give me an example to authenticate automatically with gsuite. I have tried with Oauth2, but I don"t know how to automate login/password to access to drive for example
Thanks for you help

AFAIK, First time a popoup appear to login to Google Account and grant permissions, after that, a Token File is stored so Robot will use it for next executions,
Ensure Token file Exist and if needed, Move it with robot package to test/prod environment.

Hi thanks for you help, where is stored this token file ?

the solution to automate is

  • create a Google service account to use with gsuite
  • gsuiteApplicationScope : use serviceAccountKey to connect to google
  • share file fromGoogle drive to this service account