Projects

uniAuth - Single Sign-On for UniCorp Apps

OAuth 2.1 / OpenID Connect provider that signs users in once across 3 apps

Live siteLive, 2026 – Present
3 apps on one sign-in
100+ commits

Overview

One account for every UniCorp app (Unishare, Unigym, Uniloom). Each app is an OpenID Connect client with its own session and checks uniAuth silently when it finds a signed-out visitor, so signing in once signs you in everywhere.

The problem

Three separate apps each had their own sign-in, and universities needed to be first-class so users belong to the right school.

What I did

Built an OAuth 2.1 / OIDC provider with Bun, Hono, Better Auth and Drizzle, modeled universities as organizations, and documented how to integrate a new app.

Details

  • OAuth 2.1 / OpenID Connect provider
  • Silent sign-in across apps
  • Universities modeled as organizations

Built with

Bun, Hono, Better Auth, Drizzle, PostgreSQL, OIDC