From 33bd52cee57e64cfb50d93d84d1bf1ba04ba71aa Mon Sep 17 00:00:00 2001 From: isaacclad Date: Thu, 18 Jun 2026 13:47:06 +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 78f4867..0f63748 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('give.dashboard') - : redirect()->away((string) config('ladill.marketing_url')))->name('give.root'); + : redirect()->route('sso.connect'))->name('give.root'); Route::get('/login', [SsoLoginController::class, 'connect'])->name('login'); Route::get('/sso/connect', [SsoLoginController::class, 'connect'])->name('sso.connect');