- 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
20 lines
1.2 KiB
Markdown
20 lines
1.2 KiB
Markdown
# 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.example`](../../config/services.local.env.example)** — `OIDC_ISSUER`, `GLOBAL_API_URL`, `GLOBAL_API_INTERNAL_TOKEN`, jetons micro-services pour l’API 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`](../../services/smart-ide-sso-gateway/README.md)**, **[`docs/features/sso-gateway-service.md`](../features/sso-gateway-service.md)** et **[`docs/API/sso-gateway-api.md`](../API/sso-gateway-api.md)**.
|
||
|
||
**systemd (utilisateur)** : l’unité SSO déclare **`After=`** et **`Requires=smart-ide-global-api.service`** — [systemd-units.md](./systemd-units.md), `scripts/install-smart-ide-gateway-systemd-user.sh`.
|
||
|
||
## Voir aussi
|
||
|
||
- [service-smart-ide-global-api.md](./service-smart-ide-global-api.md)
|
||
- [sso-docv-enso.md](../features/sso-docv-enso.md)
|