From 4d4b7a05f56dd3859ba81b1b4cefb6bea391c8fc Mon Sep 17 00:00:00 2001 From: isaacclad Date: Thu, 18 Jun 2026 13:47:12 +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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/routes/web.php b/routes/web.php index 0125e3b..66ff88e 100644 --- a/routes/web.php +++ b/routes/web.php @@ -16,7 +16,7 @@ use Illuminate\Support\Facades\Route; Route::get('/', fn () => auth()->check() ? redirect()->route('mini.dashboard') - : redirect()->away((string) config('ladill.marketing_url')))->name('mini.root'); + : redirect()->route('sso.connect'))->name('mini.root'); Route::get('/login', [SsoLoginController::class, 'connect'])->name('login'); Route::get('/sso/connect', [SsoLoginController::class, 'connect'])->name('sso.connect');