smart_ide/docs/repo/service-smart-ide-sso-gateway.md
Nicolas Cantu 940cf59178 Share upstream definitions in @4nk/smart-ide-upstreams, systemd user units
- Add packages/smart-ide-upstreams (versioned dist) for resolveUpstream + listUpstreamKeys
- Wire smart-ide-global-api and smart-ide-sso-gateway via file: dependency
- Add systemd user unit templates and install-smart-ide-gateway-systemd-user.sh (SSO After/Requires global API)
- Update docs and VERSION 0.0.3
2026-04-04 15:37:58 +02:00

1.2 KiB
Raw Blame History

Service smart-ide-sso-gateway (services/smart-ide-sso-gateway/)

Passerelle HTTP : validation JWT utilisateur (issuer docv / Enso), puis proxy via smart-ide-global-api vers les micro-services (jetons techniques côté API globale).

Configuration locale

  • Fichier agrégé : config/services.local.env.exampleOIDC_ISSUER, GLOBAL_API_URL, GLOBAL_API_INTERNAL_TOKEN, jetons micro-services pour lAPI globale.
  • Passerelle : services/smart-ide-sso-gateway/.env.example — API globale : services/smart-ide-global-api/.env.example.

Exploitation

Voir services/smart-ide-sso-gateway/README.md, docs/features/sso-gateway-service.md et docs/API/sso-gateway-api.md.

systemd (utilisateur) : lunité SSO déclare After= et Requires=smart-ide-global-api.servicesystemd-units.md, scripts/install-smart-ide-gateway-systemd-user.sh.

Voir aussi