From 6c4367fc5be33e3058a9a8efb3ba606ec51e799d Mon Sep 17 00:00:00 2001 From: Joel Butcher Date: Thu, 26 Oct 2023 18:14:56 +0100 Subject: [PATCH 1/8] wip --- .../views/components/input-error.blade.php | 2 +- .../Blade/AuthenticateOAuthCallback.php | 181 --------------- .../Auth/Breeze/HandleOAuthCallbackErrors.php | 29 --- .../Livewire/AuthenticateOAuthCallback.php | 211 ------------------ .../Filament/AuthenticateOAuthCallback.php | 46 ---- .../Filament/HandleOAuthCallbackErrors.php | 30 --- .../Jetstream/HandleOAuthCallbackErrors.php | 31 --- .../AuthenticateOAuthCallback.php | 60 +++-- src/Actions/GenerateRedirectForProvider.php | 5 + src/Actions/HandleOAuthCallbackErrors.php | 68 ++++++ .../Drivers/Jetstream/JetstreamDriver.php | 2 +- src/SocialstreamServiceProvider.php | 29 +-- tests/JetstreamTestCase.php | 4 +- 13 files changed, 123 insertions(+), 575 deletions(-) delete mode 100644 src/Actions/Auth/Breeze/Blade/AuthenticateOAuthCallback.php delete mode 100644 src/Actions/Auth/Breeze/HandleOAuthCallbackErrors.php delete mode 100644 src/Actions/Auth/Breeze/Livewire/AuthenticateOAuthCallback.php delete mode 100644 src/Actions/Auth/Filament/AuthenticateOAuthCallback.php delete mode 100644 src/Actions/Auth/Filament/HandleOAuthCallbackErrors.php delete mode 100644 src/Actions/Auth/Jetstream/HandleOAuthCallbackErrors.php rename src/Actions/{Auth/Jetstream => }/AuthenticateOAuthCallback.php (74%) create mode 100644 src/Actions/HandleOAuthCallbackErrors.php diff --git a/resources/filament/views/components/input-error.blade.php b/resources/filament/views/components/input-error.blade.php index ad95f6b5..3c44bf17 100644 --- a/resources/filament/views/components/input-error.blade.php +++ b/resources/filament/views/components/input-error.blade.php @@ -1,7 +1,7 @@ @props(['messages']) @if ($messages) -