subhajit_changes_06_07 #7

Merged
subhajit.pal merged 3 commits from subhajit_changes_06_07 into main 2026-07-14 10:58:27 +00:00
Showing only changes of commit a842a71f40 - Show all commits

View File

@ -36,8 +36,7 @@ public function launchSSO($id)
return redirect()->route('dashboard')->with('error', 'Access denied. You do not have permission to access this service.');
}
// If user is logged in via Microsoft, route all service launches (including Keka)
// through the Microsoft SSO flow to ensure their browser has an active Microsoft session.
if ($user->microsoft_id) {
// Save target app URL in session so callback knows where to redirect
session(['sso_target_url' => $app->url]);