blank space
This commit is contained in:
parent
85c59862c8
commit
a842a71f40
@ -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.');
|
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) {
|
if ($user->microsoft_id) {
|
||||||
// Save target app URL in session so callback knows where to redirect
|
// Save target app URL in session so callback knows where to redirect
|
||||||
session(['sso_target_url' => $app->url]);
|
session(['sso_target_url' => $app->url]);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user