Restore silent SSO on app entry for users switching between apps.
Deploy Ladill Give / deploy (push) Successful in 28s
Deploy Ladill Give / deploy (push) Successful in 28s
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 <cursoragent@cursor.com>
This commit is contained in:
+1
-1
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user