Send SSO guests to ladill.com/products/servers instead of subdomain landings.
Deploy Ladill Servers / deploy (push) Successful in 29s

Remove interactive OAuth fallback on silent SSO failure and add ladill.marketing_url config so app subdomains open the dashboard when signed in locally.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
isaacclad
2026-06-12 22:22:46 +00:00
co-authored by Cursor
parent 2e564c2067
commit 0188f715a8
2 changed files with 7 additions and 4 deletions
@@ -77,10 +77,7 @@ class SsoLoginController extends Controller
if ($request->filled('error')) {
if (in_array($request->query('error'), ['login_required', 'interaction_required', 'consent_required'], true)
&& ! $request->boolean('interactive')) {
return redirect()->route('sso.connect', [
'redirect' => $intended,
'interactive' => 1,
]);
return redirect()->away((string) config('ladill.marketing_url'));
}
return $this->finishCallback($request, $intended, (string) $request->query('error_description', $request->query('error')), $popup);
+6
View File
@@ -0,0 +1,6 @@
<?php
return [
'product_slug' => 'servers',
'marketing_url' => env('LADILL_MARKETING_URL', 'https://localhost/products/servers'),
];