Skip to content

Commit

Permalink
Allow POST callbacks (e.g. Sign in With Apple)
Browse files Browse the repository at this point in the history
  • Loading branch information
joelbutcher committed Sep 12, 2023
1 parent 55f677f commit 006612b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions routes/socialstream.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
Route::group(['middleware' => config('socialstream.middleware', ['web'])], function () {
Route::get('/oauth/{provider}', [OAuthController::class, 'redirectToProvider'])->name('oauth.redirect');
Route::get('/oauth/{provider}/callback', [OAuthController::class, 'handleProviderCallback'])->name('oauth.callback');
Route::post('/oauth/{provider}/callback', [OAuthController::class, 'handleProviderCallback'])->name('oauth.callback');

if (config('jetstream.stack') === 'inertia') {
Route::delete('/user/connected-account/{id}', [RemoveConnectedAccountsController::class, 'destroy'])
Expand Down

0 comments on commit 006612b

Please sign in to comment.