service = $service; } public function mount(): void { $user = auth()->user(); // Using spatie/laravel-activitylog v5 to log dashboard access if ($user) { activity() ->causedBy($user) ->event('dashboard_access') ->log('User accessed their assigned services dashboard.'); } // Show toast from OAuth redirect flash data if (session('entra_success')) { $this->success(session('entra_success')); } if (session('entra_error')) { $this->error(session('entra_error')); } } #[Computed] public function services(): Collection { $user = auth()->user(); if (!$user) { return collect(); } return $this->service->getActiveServices($user); } #[Computed] public function entraToken(): ?OauthToken { return auth()->user()?->oauthToken('microsoft'); } #[Computed] public function isEntraConnected(): bool { $token = $this->entraToken(); return $token !== null && !$token->isExpired(); } }; ?>
Manage and access your authenticated single sign-on services.
Your account does not currently have any active or visible services assigned by your role, or your access duration has expired.
{{ $service->slug }}
@if($service->protocol_name === 'url' && $service->provider_slug === 'azure-fd')