OIDC SSO gateway for the Tangerine Pulp console.
150
OIDC single sign-on for stock Pulp.
Tangerine cannot broker OIDC by itself: it is a static SPA, Pulp has no token
exchange, and stock Pulp does not verify a signed header. This small Python
service closes that gap. It answers Traefik forwardAuth requests with a base64
JSON identity header that Pulp reads through
JSONHeaderRemoteAuthentication. It does not modify or fork Pulp.
The Tangerine UI remains a static image; the gateway is optional and runs beside it. Local Pulp password login can stay enabled as a break-glass path.
| Provider | Login | Access rules |
|---|---|---|
| Google Workspace | OIDC, optional hosted-domain policy | Groups and roles |
| Microsoft Entra ID | OIDC, single or allowlisted tenants | Security groups and app roles |
| Keycloak | OIDC | Groups and roles |
| Generic OIDC | OIDC discovery | Groups and roles |
docker pull oneinchlunch/tangerine-gateway:0.2.0
The normal deployment is the Tangerine Helm chart with SSO enabled:
helm upgrade --install tangerine \
oci://registry-1.docker.io/oneinchlunch/tangerine \
--version 0.3.0 --namespace pulp \
--set image.tag=0.2.0 \
--set gateway.enabled=true \
--set gateway.externalBaseUrl=https://pulp.example.com \
--set gateway.existingSecret=tangerine-gateway-auth \
--set gateway.secretFilesSecret=tangerine-idp-secrets \
--set ingress.hosts[0].host=pulp.example.com
The chart creates the gateway Deployment, Service, Ingress, forwardAuth and header-stripping middlewares, and an internal PostgreSQL store. Use an external database Secret for production HA.
Pulp must trust the identity header only after the ingress strips inbound copies
and the NetworkPolicy isolates Pulp from other namespaces. The
SSO runbook
has the exact JSONHeaderRemoteAuthentication settings, middleware order,
provider registration, access rules, and verification steps.
0.2.0 is the current published gateway image. Match the gateway image to the
UI release in the same Helm upgrade.
The identity header is unsigned. Pulp must be reachable only through an ingress
that strips inbound X-Tangerine-Identity before forwardAuth, and the CNI must
enforce NetworkPolicy. Report vulnerabilities through the repository's
security policy.
Apache License 2.0. See LICENSE.
Content type
Image
Digest
sha256:081736b7f…
Size
58.8 MB
Last updated
13 days ago
docker pull oneinchlunch/tangerine-gateway:0.1.0