ivanvermeyen / laravel-google-drive-demo

Laravel & Google Drive Storage - Demo project with Laravel 5.4
403 stars 155 forks source link

refresh token must be passed in or set as part of setAccessToken #103

Open ahmadnurrizal opened 3 years ago

ahmadnurrizal commented 3 years ago

everything well on my computer, i can upload and get image on Google Drive, but after i deploy to server and upload image i got this error

"refresh token must be passed in or set as part of setAccessToken".

whats wrong ?

Hope you guys can help

SamuelHenr commented 2 years ago

Hi. I also got this error because I set the user type as "External" when creating my credentials and didn't add my email as an user test in OAuth consent screen afterwards. So, you may have forgotten about this as well. Hope this solves your problem!

HarryHandoko commented 1 year ago

i have same issue, and i was setting to publish or make it external, but the problem cant be fix