I have a Java application that requests data from Google Analytics and I have troubles dealing with the authentication.
I have seen that Google Analytics handles OAuth2 flows refresh_token & authorization_code.
In case of refresh_token, I need a refresh_token that can be retrieved through a manual authentication of the user in the browser.
In case of authorization_code, I need a code that can be once again retrieved through a manual authentication of the user in the browser.
Is there a way to use one of these OAuth flows without having a manual action from the user ?
I tested the client_credentials flow but it is not handled by Google Analytics