From 87651fb83189a4c36f1428226bc65f94ad817fb3 Mon Sep 17 00:00:00 2001 From: isaacclad Date: Thu, 18 Jun 2026 13:47:55 +0000 Subject: [PATCH] Restore silent SSO on app entry for users switching between apps. Guests without a local session try prompt=none SSO first; marketing pages are only for visitors with no platform session (localhost fix retained). Co-authored-by: Cursor --- routes/web.php | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/routes/web.php b/routes/web.php index db85bf3..c523b61 100644 --- a/routes/web.php +++ b/routes/web.php @@ -12,11 +12,12 @@ use App\Http\Controllers\Hosting\TeamController; use App\Http\Controllers\NotificationController; use Illuminate\Support\Facades\Route; -// Ladill Servers — VPS & dedicated servers (servers.ladill.com). - Route::get('/', fn () => auth()->check() ? redirect()->route('servers.dashboard') - : redirect()->away((string) config('ladill.marketing_url')))->name('servers.root'); + : redirect()->route('sso.connect'))->name('servers.root'); + +// Ladill Servers — VPS & dedicated servers (servers.ladill.com). + Route::get('/login', [SsoLoginController::class, 'connect'])->name('login'); Route::get('/sso/connect', [SsoLoginController::class, 'connect'])->name('sso.connect');