How do I get Google refresh tokens using react

I can’t get the google refresh token when accessing the identities section of a user, after they’ve logged in. I retrieve an access token, but no refresh token. Here is my login.

 const handleLogin = () => {
        
        loginWithRedirect({
            access_type: 'offline', 
            connection_scope: 'https://www.googleapis.com/auth/calendar', 
            approval_prompt: 'force'
        }
        )
        
    }