apiagent.odysseynext.com
Open in
urlscan Pro
35.168.78.180
Public Scan
URL:
https://apiagent.odysseynext.com/api
Submission: On April 09 via manual from US — Scanned from DE
Submission: On April 09 via manual from US — Scanned from DE
Form analysis
0 forms found in the DOMText Content
TypeError: App\Http\Middleware\TenantOverwrite::aliasTenant(): Argument #1 ($tenant) must be of type string, null given, called in /var/www/html/gfs-saas-agent-portal/app/Http/Middleware/TenantOverwrite.php on line 30 in file /var/www/html/gfs-saas-agent-portal/app/Http/Middleware/TenantOverwrite.php on line 38 #0 /var/www/html/gfs-saas-agent-portal/app/Http/Middleware/TenantOverwrite.php(30): App\Http\Middleware\TenantOverwrite->aliasTenant() #1 /var/www/html/gfs-saas-agent-portal/app/Http/Middleware/TenantOverwrite.php(20): App\Http\Middleware\TenantOverwrite->overwrite() #2 /var/www/html/gfs-saas-agent-portal/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): App\Http\Middleware\TenantOverwrite->handle() #3 /var/www/html/gfs-saas-agent-portal/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(103): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}() #4 /var/www/html/gfs-saas-agent-portal/vendor/laravel/framework/src/Illuminate/Routing/Router.php(723): Illuminate\Pipeline\Pipeline->then() #5 /var/www/html/gfs-saas-agent-portal/vendor/laravel/framework/src/Illuminate/Routing/Router.php(698): Illuminate\Routing\Router->runRouteWithinStack() #6 /var/www/html/gfs-saas-agent-portal/vendor/laravel/framework/src/Illuminate/Routing/Router.php(662): Illuminate\Routing\Router->runRoute() #7 /var/www/html/gfs-saas-agent-portal/vendor/laravel/framework/src/Illuminate/Routing/Router.php(651): Illuminate\Routing\Router->dispatchToRoute() #8 /var/www/html/gfs-saas-agent-portal/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(167): Illuminate\Routing\Router->dispatch() #9 /var/www/html/gfs-saas-agent-portal/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(128): Illuminate\Foundation\Http\Kernel->Illuminate\Foundation\Http\{closure}() #10 /var/www/html/gfs-saas-agent-portal/app/Http/Middleware/Localization.php(50): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}() #11 /var/www/html/gfs-saas-agent-portal/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): App\Http\Middleware\Localization->handle() #12 /var/www/html/gfs-saas-agent-portal/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}() #13 /var/www/html/gfs-saas-agent-portal/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\Foundation\Http\Middleware\TransformsRequest->handle() #14 /var/www/html/gfs-saas-agent-portal/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Illuminate\Foundation\Http\Middleware\ConvertEmptyStringsToNull->handle() #15 /var/www/html/gfs-saas-agent-portal/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}() #16 /var/www/html/gfs-saas-agent-portal/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(40): Illuminate\Foundation\Http\Middleware\TransformsRequest->handle() #17 /var/www/html/gfs-saas-agent-portal/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Illuminate\Foundation\Http\Middleware\TrimStrings->handle() #18 /var/www/html/gfs-saas-agent-portal/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ValidatePostSize.php(27): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}() #19 /var/www/html/gfs-saas-agent-portal/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Illuminate\Foundation\Http\Middleware\ValidatePostSize->handle() #20 /var/www/html/gfs-saas-agent-portal/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(86): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}() #21 /var/www/html/gfs-saas-agent-portal/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Illuminate\Foundation\Http\Middleware\PreventRequestsDuringMaintenance->handle() #22 /var/www/html/gfs-saas-agent-portal/vendor/fruitcake/laravel-cors/src/HandleCors.php(38): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}() #23 /var/www/html/gfs-saas-agent-portal/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Fruitcake\Cors\HandleCors->handle() #24 /var/www/html/gfs-saas-agent-portal/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php(39): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}() #25 /var/www/html/gfs-saas-agent-portal/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(167): Illuminate\Http\Middleware\TrustProxies->handle() #26 /var/www/html/gfs-saas-agent-portal/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(103): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}() #27 /var/www/html/gfs-saas-agent-portal/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(142): Illuminate\Pipeline\Pipeline->then() #28 /var/www/html/gfs-saas-agent-portal/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(111): Illuminate\Foundation\Http\Kernel->sendRequestThroughRouter() #29 /var/www/html/gfs-saas-agent-portal/public/index.php(52): Illuminate\Foundation\Http\Kernel->handle() #30 {main} APP_DEBUG is set to true while APP_ENV is not local This could make your application vulnerable to remote execution. Read more about Ignition security. /var/www/html/gfs-saas-agent-portal/ TypeError App\Http\Middleware\TenantOverwrite::aliasTenant(): Argument #1 ($tenant) must be of type string, null given, called in /var/www/html/gfs-saas-agent-portal/app/Http/Middleware/TenantOverwrite.php on line 30 http://apiagent.odysseynext.com/api * Stack trace * Request * App * User * Context * Debug Share SHARE ON FLARE Docs Stack trace Request App User Context Debug Share Expand vendor frames 1. * 31 app/Http/Middleware/TenantOverwrite.php App\Http\Middleware\TenantOverwrite :38 * 30 App\Http\Middleware\TenantOverwrite :30 * 29 App\Http\Middleware\TenantOverwrite :20 2. 8 vendor frames… 3. * 20 app/Http/Middleware/Localization.php App\Http\Middleware\Localization :50 4. 18 vendor frames… 5. * 1 public/index.php :52 App\Http\Middleware\TenantOverwrite::aliasTenant app/Http/Middleware/TenantOverwrite.php:38 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 return $next($this->overwrite($request)); } /** * to overwrite x-tenant before its initialized */ protected function overwrite(Request $request) { $tenant = $request->header('x-tenant'); $request->headers->set('x-tenant-alias', $tenant); $request->headers->set('x-tenant', $this->aliasTenant($tenant)); return $request; } /** * tenant & it alias mapping * @return string */ protected function aliasTenant(string $tenant): string { switch ($tenant) { case 'foremost': return 'farmers'; break; default: return $tenant; break; } } }