diff --git a/routes/socialstream.php b/routes/socialstream.php index 11eb2820..25de99c9 100644 --- a/routes/socialstream.php +++ b/routes/socialstream.php @@ -5,6 +5,5 @@ Route::group(['middleware' => config('socialstream.middleware', ['web'])], function () { Route::get('/oauth/{provider}', [OAuthController::class, 'redirect'])->name('oauth.redirect'); - Route::get('/oauth/{provider}/callback', [OAuthController::class, 'callback'])->name('oauth.callback'); - Route::post('/oauth/{provider}/callback', [OAuthController::class, 'callback'])->name('oauth.callback'); + Route::match(['get', 'post'], '/oauth/{provider}/callback', [OAuthController::class, 'callback'])->name('oauth.callback'); });