I implemented a Laravel web-app with Google Drive's API used for storage. I used this tutorial https://gist.github.com/sergomet/f234cc7a8351352170eb547cccd65011. I note that in my application "refresh token" is expiring every 7 days and I don't know why. My application in Google developers console is in "test" mode.