I’ve checked the related K6 documentation about Oauth 2 login, but there is nothing about logging in with Google Oauth 2.
I’ve also checked this on developers.google, the only usable thing was to log in using a service account and then allow access to certain user(s).
Also there are workarounds, like getting the refresh token from google.playground, or logging in manually then taking the access token and using in the test, but those need human interaction.
I am looking for a simple way to log in to the app, exchange get tokens dynamically with the google APIs than use the Bearer token in my app.
Is there any other way besides using a google service account?