Skip to content

Commit

Permalink
Adding updates to authentication and routes
Browse files Browse the repository at this point in the history
  • Loading branch information
tnylea committed Oct 17, 2024
1 parent 77df0ec commit 5ef4588
Show file tree
Hide file tree
Showing 6 changed files with 155 additions and 91 deletions.
10 changes: 10 additions & 0 deletions bootstrap/cache/packages.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,14 @@
<?php return array (
'alebatistella/duskapiconf' =>
array (
'providers' =>
array (
0 => 'AleBatistella\\DuskApiConf\\DuskApiConfServiceProvider',
),
'aliases' =>
array (
),
),
'anourvalar/eloquent-serialize' =>
array (
'aliases' =>
Expand Down
178 changes: 90 additions & 88 deletions bootstrap/cache/services.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,51 +23,52 @@
19 => 'Illuminate\\Translation\\TranslationServiceProvider',
20 => 'Illuminate\\Validation\\ValidationServiceProvider',
21 => 'Illuminate\\View\\ViewServiceProvider',
22 => 'BezhanSalleh\\FilamentGoogleAnalytics\\FilamentGoogleAnalyticsServiceProvider',
23 => 'BladeUI\\Heroicons\\BladeHeroiconsServiceProvider',
24 => 'BladeUI\\Icons\\BladeIconsServiceProvider',
25 => 'Codeat3\\BladePhosphorIcons\\BladePhosphorIconsServiceProvider',
26 => 'Devdojo\\Auth\\AuthServiceProvider',
27 => 'Devdojo\\ConfigWriter\\ServiceProvider',
28 => 'Filament\\Actions\\ActionsServiceProvider',
29 => 'Filament\\FilamentServiceProvider',
30 => 'Filament\\Forms\\FormsServiceProvider',
31 => 'Filament\\Infolists\\InfolistsServiceProvider',
32 => 'Filament\\Notifications\\NotificationsServiceProvider',
33 => 'Filament\\Support\\SupportServiceProvider',
34 => 'Filament\\Tables\\TablesServiceProvider',
35 => 'Filament\\Widgets\\WidgetsServiceProvider',
36 => 'TailwindMerge\\Laravel\\TailwindMergeServiceProvider',
37 => 'Intervention\\Image\\ImageServiceProvider',
38 => 'Kirschbaum\\PowerJoins\\PowerJoinsServiceProvider',
39 => 'Lab404\\Impersonate\\ImpersonateServiceProvider',
40 => 'Laravel\\Dusk\\DuskServiceProvider',
41 => 'Laravel\\Folio\\FolioServiceProvider',
42 => 'Laravel\\Socialite\\SocialiteServiceProvider',
43 => 'Laravel\\Tinker\\TinkerServiceProvider',
44 => 'Laravel\\Ui\\UiServiceProvider',
45 => 'Livewire\\LivewireServiceProvider',
46 => 'Livewire\\Volt\\VoltServiceProvider',
47 => 'Carbon\\Laravel\\ServiceProvider',
48 => 'NunoMaduro\\Collision\\Adapters\\Laravel\\CollisionServiceProvider',
49 => 'Termwind\\Laravel\\TermwindServiceProvider',
50 => 'Pest\\Laravel\\PestServiceProvider',
51 => 'RalphJSmit\\Livewire\\Urls\\LivewireUrlsServiceProvider',
52 => 'RyanChandler\\BladeCaptureDirective\\BladeCaptureDirectiveServiceProvider',
53 => 'Spatie\\Analytics\\AnalyticsServiceProvider',
54 => 'Spatie\\LaravelIgnition\\IgnitionServiceProvider',
55 => 'Spatie\\Permission\\PermissionServiceProvider',
56 => 'Tymon\\JWTAuth\\Providers\\LaravelServiceProvider',
57 => 'Lab404\\Impersonate\\ImpersonateServiceProvider',
58 => 'Wave\\WaveServiceProvider',
59 => 'DevDojo\\Themes\\ThemesServiceProvider',
60 => 'App\\Providers\\AppServiceProvider',
61 => 'App\\Providers\\AuthServiceProvider',
62 => 'App\\Providers\\EventServiceProvider',
63 => 'App\\Providers\\Filament\\AdminPanelProvider',
64 => 'App\\Providers\\RouteServiceProvider',
65 => 'App\\Providers\\FolioServiceProvider',
66 => 'DevDojo\\Themes\\ThemesServiceProvider',
22 => 'AleBatistella\\DuskApiConf\\DuskApiConfServiceProvider',
23 => 'BezhanSalleh\\FilamentGoogleAnalytics\\FilamentGoogleAnalyticsServiceProvider',
24 => 'BladeUI\\Heroicons\\BladeHeroiconsServiceProvider',
25 => 'BladeUI\\Icons\\BladeIconsServiceProvider',
26 => 'Codeat3\\BladePhosphorIcons\\BladePhosphorIconsServiceProvider',
27 => 'Devdojo\\Auth\\AuthServiceProvider',
28 => 'Devdojo\\ConfigWriter\\ServiceProvider',
29 => 'Filament\\Actions\\ActionsServiceProvider',
30 => 'Filament\\FilamentServiceProvider',
31 => 'Filament\\Forms\\FormsServiceProvider',
32 => 'Filament\\Infolists\\InfolistsServiceProvider',
33 => 'Filament\\Notifications\\NotificationsServiceProvider',
34 => 'Filament\\Support\\SupportServiceProvider',
35 => 'Filament\\Tables\\TablesServiceProvider',
36 => 'Filament\\Widgets\\WidgetsServiceProvider',
37 => 'TailwindMerge\\Laravel\\TailwindMergeServiceProvider',
38 => 'Intervention\\Image\\ImageServiceProvider',
39 => 'Kirschbaum\\PowerJoins\\PowerJoinsServiceProvider',
40 => 'Lab404\\Impersonate\\ImpersonateServiceProvider',
41 => 'Laravel\\Dusk\\DuskServiceProvider',
42 => 'Laravel\\Folio\\FolioServiceProvider',
43 => 'Laravel\\Socialite\\SocialiteServiceProvider',
44 => 'Laravel\\Tinker\\TinkerServiceProvider',
45 => 'Laravel\\Ui\\UiServiceProvider',
46 => 'Livewire\\LivewireServiceProvider',
47 => 'Livewire\\Volt\\VoltServiceProvider',
48 => 'Carbon\\Laravel\\ServiceProvider',
49 => 'NunoMaduro\\Collision\\Adapters\\Laravel\\CollisionServiceProvider',
50 => 'Termwind\\Laravel\\TermwindServiceProvider',
51 => 'Pest\\Laravel\\PestServiceProvider',
52 => 'RalphJSmit\\Livewire\\Urls\\LivewireUrlsServiceProvider',
53 => 'RyanChandler\\BladeCaptureDirective\\BladeCaptureDirectiveServiceProvider',
54 => 'Spatie\\Analytics\\AnalyticsServiceProvider',
55 => 'Spatie\\LaravelIgnition\\IgnitionServiceProvider',
56 => 'Spatie\\Permission\\PermissionServiceProvider',
57 => 'Tymon\\JWTAuth\\Providers\\LaravelServiceProvider',
58 => 'Lab404\\Impersonate\\ImpersonateServiceProvider',
59 => 'Wave\\WaveServiceProvider',
60 => 'DevDojo\\Themes\\ThemesServiceProvider',
61 => 'App\\Providers\\AppServiceProvider',
62 => 'App\\Providers\\AuthServiceProvider',
63 => 'App\\Providers\\EventServiceProvider',
64 => 'App\\Providers\\Filament\\AdminPanelProvider',
65 => 'App\\Providers\\RouteServiceProvider',
66 => 'App\\Providers\\FolioServiceProvider',
67 => 'DevDojo\\Themes\\ThemesServiceProvider',
),
'eager' =>
array (
Expand All @@ -81,49 +82,50 @@
7 => 'Illuminate\\Pagination\\PaginationServiceProvider',
8 => 'Illuminate\\Session\\SessionServiceProvider',
9 => 'Illuminate\\View\\ViewServiceProvider',
10 => 'BezhanSalleh\\FilamentGoogleAnalytics\\FilamentGoogleAnalyticsServiceProvider',
11 => 'BladeUI\\Heroicons\\BladeHeroiconsServiceProvider',
12 => 'BladeUI\\Icons\\BladeIconsServiceProvider',
13 => 'Codeat3\\BladePhosphorIcons\\BladePhosphorIconsServiceProvider',
14 => 'Devdojo\\Auth\\AuthServiceProvider',
15 => 'Devdojo\\ConfigWriter\\ServiceProvider',
16 => 'Filament\\Actions\\ActionsServiceProvider',
17 => 'Filament\\FilamentServiceProvider',
18 => 'Filament\\Forms\\FormsServiceProvider',
19 => 'Filament\\Infolists\\InfolistsServiceProvider',
20 => 'Filament\\Notifications\\NotificationsServiceProvider',
21 => 'Filament\\Support\\SupportServiceProvider',
22 => 'Filament\\Tables\\TablesServiceProvider',
23 => 'Filament\\Widgets\\WidgetsServiceProvider',
24 => 'TailwindMerge\\Laravel\\TailwindMergeServiceProvider',
25 => 'Intervention\\Image\\ImageServiceProvider',
26 => 'Kirschbaum\\PowerJoins\\PowerJoinsServiceProvider',
27 => 'Lab404\\Impersonate\\ImpersonateServiceProvider',
28 => 'Laravel\\Dusk\\DuskServiceProvider',
29 => 'Laravel\\Folio\\FolioServiceProvider',
30 => 'Laravel\\Ui\\UiServiceProvider',
31 => 'Livewire\\LivewireServiceProvider',
32 => 'Livewire\\Volt\\VoltServiceProvider',
33 => 'Carbon\\Laravel\\ServiceProvider',
34 => 'NunoMaduro\\Collision\\Adapters\\Laravel\\CollisionServiceProvider',
35 => 'Termwind\\Laravel\\TermwindServiceProvider',
36 => 'Pest\\Laravel\\PestServiceProvider',
37 => 'RalphJSmit\\Livewire\\Urls\\LivewireUrlsServiceProvider',
38 => 'RyanChandler\\BladeCaptureDirective\\BladeCaptureDirectiveServiceProvider',
39 => 'Spatie\\Analytics\\AnalyticsServiceProvider',
40 => 'Spatie\\LaravelIgnition\\IgnitionServiceProvider',
41 => 'Spatie\\Permission\\PermissionServiceProvider',
42 => 'Tymon\\JWTAuth\\Providers\\LaravelServiceProvider',
43 => 'Lab404\\Impersonate\\ImpersonateServiceProvider',
44 => 'Wave\\WaveServiceProvider',
45 => 'DevDojo\\Themes\\ThemesServiceProvider',
46 => 'App\\Providers\\AppServiceProvider',
47 => 'App\\Providers\\AuthServiceProvider',
48 => 'App\\Providers\\EventServiceProvider',
49 => 'App\\Providers\\Filament\\AdminPanelProvider',
50 => 'App\\Providers\\RouteServiceProvider',
51 => 'App\\Providers\\FolioServiceProvider',
52 => 'DevDojo\\Themes\\ThemesServiceProvider',
10 => 'AleBatistella\\DuskApiConf\\DuskApiConfServiceProvider',
11 => 'BezhanSalleh\\FilamentGoogleAnalytics\\FilamentGoogleAnalyticsServiceProvider',
12 => 'BladeUI\\Heroicons\\BladeHeroiconsServiceProvider',
13 => 'BladeUI\\Icons\\BladeIconsServiceProvider',
14 => 'Codeat3\\BladePhosphorIcons\\BladePhosphorIconsServiceProvider',
15 => 'Devdojo\\Auth\\AuthServiceProvider',
16 => 'Devdojo\\ConfigWriter\\ServiceProvider',
17 => 'Filament\\Actions\\ActionsServiceProvider',
18 => 'Filament\\FilamentServiceProvider',
19 => 'Filament\\Forms\\FormsServiceProvider',
20 => 'Filament\\Infolists\\InfolistsServiceProvider',
21 => 'Filament\\Notifications\\NotificationsServiceProvider',
22 => 'Filament\\Support\\SupportServiceProvider',
23 => 'Filament\\Tables\\TablesServiceProvider',
24 => 'Filament\\Widgets\\WidgetsServiceProvider',
25 => 'TailwindMerge\\Laravel\\TailwindMergeServiceProvider',
26 => 'Intervention\\Image\\ImageServiceProvider',
27 => 'Kirschbaum\\PowerJoins\\PowerJoinsServiceProvider',
28 => 'Lab404\\Impersonate\\ImpersonateServiceProvider',
29 => 'Laravel\\Dusk\\DuskServiceProvider',
30 => 'Laravel\\Folio\\FolioServiceProvider',
31 => 'Laravel\\Ui\\UiServiceProvider',
32 => 'Livewire\\LivewireServiceProvider',
33 => 'Livewire\\Volt\\VoltServiceProvider',
34 => 'Carbon\\Laravel\\ServiceProvider',
35 => 'NunoMaduro\\Collision\\Adapters\\Laravel\\CollisionServiceProvider',
36 => 'Termwind\\Laravel\\TermwindServiceProvider',
37 => 'Pest\\Laravel\\PestServiceProvider',
38 => 'RalphJSmit\\Livewire\\Urls\\LivewireUrlsServiceProvider',
39 => 'RyanChandler\\BladeCaptureDirective\\BladeCaptureDirectiveServiceProvider',
40 => 'Spatie\\Analytics\\AnalyticsServiceProvider',
41 => 'Spatie\\LaravelIgnition\\IgnitionServiceProvider',
42 => 'Spatie\\Permission\\PermissionServiceProvider',
43 => 'Tymon\\JWTAuth\\Providers\\LaravelServiceProvider',
44 => 'Lab404\\Impersonate\\ImpersonateServiceProvider',
45 => 'Wave\\WaveServiceProvider',
46 => 'DevDojo\\Themes\\ThemesServiceProvider',
47 => 'App\\Providers\\AppServiceProvider',
48 => 'App\\Providers\\AuthServiceProvider',
49 => 'App\\Providers\\EventServiceProvider',
50 => 'App\\Providers\\Filament\\AdminPanelProvider',
51 => 'App\\Providers\\RouteServiceProvider',
52 => 'App\\Providers\\FolioServiceProvider',
53 => 'DevDojo\\Themes\\ThemesServiceProvider',
),
'deferred' =>
array (
Expand Down
1 change: 1 addition & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
"tymon/jwt-auth": "@dev"
},
"require-dev": {
"alebatistella/duskapiconf": "^1.2",
"fakerphp/faker": "^1.9.1",
"laravel/dusk": "^8.0",
"mockery/mockery": "^1.4.4",
Expand Down
53 changes: 52 additions & 1 deletion composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion config/devdojo/auth/providers.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
'scopes' => null,
'parameters' => null,
'stateless' => true,
'active' => true,
'active' => false,
'socialite' => true,
'svg' => '<svg class="w-full h-full" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 48 48" fill="none"><path fill="#4285F4" d="M24 19.636v9.295h12.916c-.567 2.989-2.27 5.52-4.822 7.222l7.79 6.043c4.537-4.188 7.155-10.341 7.155-17.65 0-1.702-.152-3.339-.436-4.91H24Z"/><path fill="#34A853" d="m10.55 28.568-1.757 1.345-6.219 4.843C6.524 42.59 14.617 48 24 48c6.48 0 11.913-2.138 15.884-5.804l-7.79-6.043c-2.138 1.44-4.865 2.313-8.094 2.313-6.24 0-11.541-4.211-13.44-9.884l-.01-.014Z"/><path fill="#FBBC05" d="M2.574 13.244A23.704 23.704 0 0 0 0 24c0 3.883.938 7.527 2.574 10.756 0 .022 7.986-6.196 7.986-6.196A14.384 14.384 0 0 1 9.796 24c0-1.593.284-3.12.764-4.56l-7.986-6.196Z"/><path fill="#EA4335" d="M24 9.556c3.534 0 6.676 1.222 9.185 3.579l6.873-6.873C35.89 2.378 30.48 0 24 0 14.618 0 6.523 5.39 2.574 13.244l7.986 6.196c1.898-5.673 7.2-9.884 13.44-9.884Z"/></svg>',
'client_id' => env('GOOGLE_CLIENT_ID'),
Expand Down
2 changes: 1 addition & 1 deletion tests/Datasets/Routes.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
'/blog/marketing/best-ways-to-market-your-application',
'/pricing',
'/changelog',
'/changelog/4',
'/changelog/3',
'/auth/login',
'/auth/register',
'/auth/password/reset',
Expand Down

0 comments on commit 5ef4588

Please sign in to comment.