Tady je popis jak ziskat access a refresh token. V kroku "Confirm permissions request" nemusis pouzivat SoapUI postaci curl:
curl -X POST https://www.googleapis.com/oauth2/v4/token \
-d client_id=tvoje_client_id \
-d client_secret=tvuj_client_secret \
-d code=kod_ziskany_z_redirectu_na_localhost \
-d grant_type=authorization_code \
-d redirect_uri=http://localhost