// the take
An nginx module that adds Kerberos/SPNEGO authentication (HTTP SSO) using GSSAPI, for environments where you want browsers to transparently authenticate against an Active Directory or MIT Kerberos realm. It's for ops/infra folks running nginx in a Windows-integrated or Kerberized network who need SSO without bolting on an external auth proxy.
It solves a real gap — nginx has never had first-class Kerberos/SPNEGO support, unlike Apache's mod_auth_kerb. The SPNEGO/GSSAPI token parsing (derparse.c, spnegoparse.c) is isolated into its own small helper library rather than tangled into the nginx module code, which at least makes that piece easier to audit in isolation. Directives are simple and map directly onto what you'd expect from Apache's equivalent module, so migrating an existing Kerberos config is straightforward conceptually.
The README itself says 'this code probably has a ton of bugs' and tells you not to run it in production without auditing — that's the author's own assessment, not mine. It's hand-rolled ASN.1 DER and SPNEGO token parsing in C handling untrusted network input, which is precisely the kind of code that produces memory-safety CVEs if it hasn't been fuzzed or audited (there's no sign either has happened). Configuration is location-block only with no main/server-level defaults (acknowledged as a FIXME), and the service principal name is hardcoded to HTTP with no way to list alternates. It's a static nginx module requiring a full recompile with --add-module rather than a dynamic module, so every nginx security update means rebuilding this too, and with only one contributor and sparse recent activity, don't count on upstream fixes landing fast if you find a bug.
We read the README, the directory tree and a key source file in October 2026. Nobody pays to be listed. How we judge →