I write code for humans. The machines can wait.

I build single sign-on, provisioning and authorization.

SAML, SCIM and OpenID Connect, in Go and Ruby. I wrote saml-kit and scim-kit, downloaded over 435,000 times. It's just me, and I take contract work.

[email protected] See my work

$ curl -s https://www.mokhan.ca/scim/v2/Users
{
  "schemas": ["urn:ietf:params:scim:api:messages:2.0:ListResponse"],
  "totalResults": 1,
  "Resources": [
    {
      "schemas": ["urn:ietf:params:scim:schemas:core:2.0:User"],
      "id": "mo",
      "userName": "xlgmokha",
      "title": "everything"
    }
  ]
}
A SCIM request for every user at ~/mokhan.ca returns one user: mo.

work with me

What I take on

  • Add single sign-on

    SAML or OpenID Connect in your app, tested against the identity providers your customers use, such as Okta and Active Directory.

  • Add SCIM provisioning

    A SCIM 2.0 server so identity providers can create, update and remove your users and groups. Checked against the RFCs with scimcheck, a tool I wrote.

  • Add roles and permissions

    Custom roles, fine-grained permissions and policy checks. I built custom roles at GitLab and prototyped with Cedar and SpiceDB.

  • Other software work

    Backends and tools in Go, Ruby or Python.

Email me what you need: [email protected]

Work is invoiced by 2809074 Alberta Ltd.

work

Selected work

Clients

  • Supabase, 2026Finished scim-go, an open-source SCIM 2.0 library in Go.
  • A Calgary energy company, 2026Built AI chat applications in Python for a safety team.

Earlier roles

  • GitLabExtended custom roles with fine-grained permissions. Prototyped a new authorization architecture in Go.
  • Cisco SecurityBuilt the SAML 2.0 identity provider behind single sign-on for Cisco's security products.

open source

Libraries I maintain

product

elelem

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

$ gem install elelem
$ elelem

contact

Tell me what you need

Email
[email protected]
Where
Calgary, Alberta. Remote, Mountain Time.
Company
2809074 Alberta Ltd., operating as Mo Khan Consulting