Cannot get refresh token for google play authorization
<p>I cannot get a refresh token for Google Play Authorization.</p>

<p>I'm following the instructions in the Google Play Android Developer
API Authorization page. I created an OAuth 2.0 client ID. I successfully got a client ID. I put all the information in the
URI to get a refresh token, I send the request, I'm prompted
for "Allow access". When I click "Allow Access" I get an Unable to
connect error.
This is my URI:</p>

<p><a href="https://accounts.google.com/o/oauth2/auth?scope=https://www.googleapis.com/auth/androidpublisher&amp;response_type=code&amp;access_type=offline&amp;redirect_uri=https://localhost/oauth2callback&amp;client_id=345674341799.apps.googleusercontent.com" rel="nofollow">https://accounts.google.com/o/oauth2/auth?scope=https://www.googleapis.com/auth/androidpublisher&amp;response_type=code&amp;access_type=offline&amp;redirect_uri=https://localhost/oauth2callback&amp;client_id=345674341799.apps.googleusercontent.com</a></p>
