You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi comunity! The problem is when i want set a default scope in a new token thats come from google. I read the documentation from Socialite and and I don't know why it doesn't work.
The insertion in the database is done correctly but does not set the scope in the DB.
useIlluminate\Http\Request;
Route::get('/orders', function (Request$request) {
if ($request->user()->tokenCan('place-orders')) {
// not possible with social grant, but// but works well with password grant type
}
});
The text was updated successfully, but these errors were encountered:
Hi comunity! The problem is when i want set a default scope in a new token thats come from google. I read the documentation from Socialite and and I don't know why it doesn't work.
The insertion in the database is done correctly but does not set the scope in the DB.
The text was updated successfully, but these errors were encountered: