Files
Oskar Otwinowski 0b2dc49279 fix(sso): gate SSO UI on plugin presence, not managed-cloud
The SSO controller is built with forceFallback: !SSO_ENABLED || SSO_FORCE_FALLBACK,
so ssoController.isUsingPlugin() is true only when SSO_ENABLED is on AND a real
plugin is loaded — it already encodes 'env var on + plugin available'. The UI
gates were leading on isManagedCloud instead, which is neither necessary nor
the intended signal (per review).

- login button: gate purely on isUsingPlugin(); drop the isManagedCloud host
  check and the hasSso global-flag check (login is pre-auth — plugin presence
  is the source of truth). Still short-circuits before any flag fetch.
- SSO settings page: drop isManagedCloud from both the loader and action gates;
  key both on isUsingPlugin() so config mutations require an active plugin too.

Addresses PR #3911 review (Matt).
2026-06-20 16:35:42 +02:00
..
2025-03-08 14:53:06 +00:00
2023-01-10 16:09:42 +00:00
2022-12-06 12:28:16 +00:00
2024-10-09 12:52:52 +01:00

Trigger webapp - powered by Remix

To start, run with pnpm run dev --filter webapp

Build the docker image locally:

pnpm run docker:build:webapp
docker run -it triggerdotdev-webapp sh