ivanvermeyen/laravel-google-drive-demo

Google_Service_Exception

Closed this issue · 2 comments

{
"error": {
"errors": [
{
"domain": "global",
"reason": "required",
"message": "Login Required",
"locationType": "header",
"location": "Authorization"
}
],
"code": 401,
"message": "Login Required"
}
}

Check credentials multiple times..
Issue in all routes..

Hey,

I just went through the procedure again to create the OAuth credentials and it's still working.
You probably missed a detail at some point...

Make sure you allow access to your account when you generate the credentials.
You need to pass a warning screen about the app and then Google asks you to allow access 2 or 3 times.

Also make sure your .env and config files are using the same keys and you have the same driver name in the config..

Closing for now, feel free to reopen if the issue persists :)