How to get refresh token using passport google oAuth?

This is strictly specific to Google OAuth 2.0 and they have some specific requirements in terms of when refresh tokens are issued. You should check (Como usar o OAuth 2.0 para aplicativos de servidor da Web  |  Authorization  |  Google Developers) and just do a search by refresh token and read the relevant bits. For example, a specific parameter is required to issue a refresh token and after one is issued re-issuing another one also has its own considerations.