work

What I have built

Client work first, then the product, then identity and access work from earlier roles.

Clients

Work done by 2809074 Alberta Ltd., operating as Mo Khan Consulting.

Supabase

Oct 2026, 2-week contract

  • Finished scim-go, an open-source SCIM 2.0 library in Go, started during my earlier role on the Supabase Auth team.

A Calgary energy company

Apr - Jun 2026

  • Built AI chat applications in Python with the Agno framework. Staff on a safety team ask questions about internal procedures.
  • Delivered and handed over in June 2026.

Product

elelem

Oct 2026 - present

  • A coding agent you can read. It runs in your terminal, is written in Ruby, and does everything beyond its agent loop with plugins.
  • elelem.sh and github.com/elelem-sh.

Earlier roles

Employment, not client work. Listed because it shows the work I now offer.

Supabase

Senior Auth Engineer, 2026

SCIM
  • Built SCIM 2.0 provisioning in Go so identity providers can push users and groups into Supabase Auth: discovery endpoints, RFC 7644 errors, routing and storage. About 23 merged pull requests.
  • Wrote users and groups provisioning: PATCH, nested groups with cycle detection, filtering, ETag concurrency control and per-provider tokens. Approved, not yet merged.

GitLab

Senior Backend Engineer, 2019 - 2020 and 2023 - 2026

Authorization
  • Extended custom roles with fine-grained permissions for merge request approval, vulnerability management, runner administration and Admin Area monitoring.
  • Prototyped a new authorization architecture in Go, evaluating Cedar, SpiceDB and Envoy. Handed it to a team to carry forward.
  • Wrote the design proposal for low-privilege CI job tokens.
  • Earlier: built license scanning and license policy, including offline scanning for air-gapped installs.

Command Zero

Founding engineer, 2022

OIDC
  • Built the authentication proxy and API gateway in Go with Auth0 (OpenID Connect), JWTs and Casbin policies.

HashiCorp

Terraform Cloud, 2022

SSO
  • Worked on managing Terraform Cloud team membership from an external identity provider, a requirement for a large enterprise deal. Added SSO team ID support to go-tfe.

GitHub

Dependabot, 2021 - 2022

  • Helped bring Dependabot to GitHub Enterprise Server.
  • Added Terraform private registry support to dependabot-core and cut about 20 releases.

Cisco Security

Software Engineer IV, 2013 - 2019

SAML
  • Built the identity provider for Advanced Malware Protection, with SAML 2.0 single sign-on and TOTP 2-step verification. Grew it into single sign-on for the whole Cisco Security Business Group.
  • Integrated with customer identity providers, including Okta and Active Directory (ADFS).
  • Wrote saml-kit and scim-kit to power it, and used scim-kit to provision accounts into Threat Grid.

Before 2013: C# and Ruby on Rails at ARC Resources, eCompliance, ThoughtWorks, MediaLogic and Uppercut, and C on point-of-sale terminals at Data Shapers. Full history in the CV.

Open source

ProjectWhat it doesDownloads
saml-kitSAML 2.0 toolkit for Ruby290K+
scimcheckChecks a SCIM 2.0 server against RFC 7643 and 7644, in Zig-
scim-kitSCIM 2.0 provisioning toolkit for Ruby145K+
scim-goSCIM 2.0 library for Go-
net-hippieSmall wrapper around Ruby's net/http370K+
spandxDetects dependency licenses from lock files125K+