Hi folks, I have strange behaviour with proxy and Google Play Publisher API.
I created CLI wrapper for for official Google Play Java Library
It working flawless, however have some inconsistent behaviour with Proxy and Authentication.
I deployed Proxy on my Sever (Synology Proxy) with Authentication Username/Password and it working as expected,
However on my work project I have :
com.google.auth.oauth2.GoogleAuthException: Error getting access token for service account: PKIX path building failed: sun.secutity.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target, iss:...
I installed Charles Proxy on my machine and with Proxy configuration what you providede only "androidpublisher" calls going trought proxy, but I can't see oauth2.googleapis.com requests
Hi folks, I have strange behaviour with proxy and Google Play Publisher API. I created CLI wrapper for for official Google Play Java Library
It working flawless, however have some inconsistent behaviour with Proxy and Authentication.
I deployed Proxy on my Sever (Synology Proxy) with Authentication Username/Password and it working as expected, However on my work project I have :
I followed guide from this repo https://github.com/googleapis/google-auth-library-java?tab=readme-ov-file#configuring-a-proxy and implemented similar proxy support https://github.com/Vacxe/google-play-cli-kt/blob/master/src/main/kotlin/com/github/vacxe/googleplaycli/TransportFactory.kt#L45-L68
I installed Charles Proxy on my machine and with Proxy configuration what you providede only "androidpublisher" calls going trought proxy, but I can't see oauth2.googleapis.com requests
If I adding
then oauth2 api calls appearing in Charles
Our corporate proxy required authentication for any calls
Does't helps with authentication.
Can you help with https://github.com/Vacxe/google-play-cli-kt/blob/master/src/main/kotlin/com/github/vacxe/googleplaycli/PlayStoreApi.kt#L39
How to create
AndroidPublisher
with Proxy and Authentication, which will be delegated to OAuth as well