OPENSOURCE

BlackWall

A WebAuthn-only OAuth 2.1 and OIDC server, built on the assumption that passwords are the problem, not a detail to configure around.

  • Identity & access
  • Multi-tenant
  • Passwordless
  • Open source, GPL-3.0
Role:

Sole designer & engineer

Stack:

WebAuthn, OAuth 2.1, OIDC, PKCE

Status:

Live product, free software under the GNU GPL v3

BlackWall
The problem

Most identity providers still treat passwords as the baseline and passkeys as an optional upgrade layered on top. That leaves the weakest authentication path (a password, however it's stored) permanently available as a fallback, which means it's permanently available as an attack surface too. Multi-tenant setups make this worse: audit logging, token revocation and privilege boundaries need to hold up cleanly across tenants, not just within one.

What I built

An OAuth 2.1 and OpenID Connect server where WebAuthn passkeys are the only credential: there's no password field to fall back to, because there's no password to compromise. It's built multi-tenant from the ground up, issuing both JWT and opaque tokens with named privilege levels, and every authorisation decision is written to an audit log. The standard OAuth 2.1 flows follow the specification: PKCE is mandatory, introspection and revocation endpoints are real, and rate limiting sits in front of the whole thing. A user portal lets people manage their own passkeys and see what they've authorised without going through an administrator.

Engineering decisions
  • WebAuthn-only, no password fallback: removing the weak path entirely rather than merely discouraging it.
  • Multi-tenant from the start: tenant isolation is built into the data model rather than retrofitted onto a single-tenant design.
  • Both token types: JWTs where a resource server needs to validate offline, opaque tokens where centralised revocation matters more than that.
  • Audit logging as a core feature, not a bolt-on: every authorisation event is logged in a form that's actually useful in a review, rather than just to tick a compliance box.
What it demonstrates

A standards-correct implementation of security-critical infrastructure, where "mostly right" isn't good enough. It's also a good example of building for the multi-tenant, audit-heavy requirements that come with ISO 27001-adjacent work from the start, rather than adding them later.

Open source

BlackWall is free software under the GNU General Public License v3 or later. Read the code, run your own instance, and if it earns a place in your stack, star it, file issues or send a pull request.

git clone https://github.com/andydixon/blackwall.git
cd blackwall && ./build.sh --binary-only
./dist/blackwall -config config.yaml

It needs Go and a MySQL 8 database; the README covers the base schema, configuration and running it in Docker.