Commit Graph
3 Commits
Author SHA1 Message Date
kevinveenbirkenbach a9b7b66655 Refine Taiga OIDC theming and tests 2026-03-28 21:02:06 +01:00
kevinveenbirkenbach 93ebc301e6 Fix Taiga LDAP and OIDC role integration 2026-03-25 17:54:36 +01:00
kevinveenbirkenbachandClaude Sonnet 4.6 8504c2ec87 feat(web-app-taiga): implement LDAP and OIDC auth with OAuth2 Proxy
- Add OAuth2 Proxy in front of Taiga (port 16491) as access guard
- Add OIDC login via Keycloak→LDAP using taiga-contrib-oidc-auth (default on)
  - Custom multi-stage Docker build compiles CoffeeScript/Gulp frontend plugin
  - Build context fixed to docker_repository_path (not directories.instance)
  - pip install via git+https:// (not PyPI, package not published there)
  - Settings rendered as Python literals in config.append.py (not os.getenv)
  - urls.py uses re_path() (Django 4+ compatible, url() was removed)
- Add LDAP direct login via taiga-contrib-ldap-auth-ext (default off)
  - LDAP_SERVER strips port via regex_replace (host-only required by plugin)
  - LDAP_MAP_USERNAME_TO_UID = None (prevents plugin crash)
- Both plugins append to config.py at container startup via cat >>
- Remove broken robrotheram image variants and dead TAIGA_SETTING_FILES loop
- Remove broken oidc/local.py.j2 (local.py is not imported by taiga-back)
- Add conf.json template for taiga-front (loginFormType / contribPlugins)
- Add oauth2_proxy_cookie_secret to schema

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-23 23:54:26 +01:00