Open Diel09 opened 1 year ago
Route::get('/oauth/gmail', function (){ return LaravelGmail::redirect(); });
Route::get('/oauth/gmail/callback', function (){ LaravelGmail::makeToken(); return redirect()->to('/'); });
Route::get('/oauth/gmail/logout', function (){ LaravelGmail::logout(); //It returns exception if fails return redirect()->to('/'); });
i have added this in my web.php
I have a blank file in the storage/app/gmail/tokens named gmail-json.json i followed the config.php. need help thank you