I have explained issue here: [https://stackoverflow.com/questions/44413977/groovy-java-google-storage-auth-and-request](url) Anyone knows why this doesn't work as expected?