The missing Google OAuth 2 refresh token for your web app could be due to the authorization settings. Ensure you’ve enabled access_type=offline and prompt=consent in your OAuth request.
access_type=offline
prompt=consent