I've set up an OAuth consent screen for my app with user type external and myself as test user. I then set up an OAuth 2.0 Client ID for a web application. When I download the resulting JSON from here, it includes the following object, but no refresh_token
. Why is that?
{
"web": {
"client_id": "...",
"project_id": "...",
"auth_uri": "https://accounts.google.com/o/oauth2/auth",
"token_uri": "https://oauth2.googleapis.com/token",
"auth_provider_x509_cert_url": "https://www.googleapis.com/oauth2/v1/certs",
"client_secret": "...",
"redirect_uris": [
"http://localhost/"
]
}
}
I can't find it in the docs: