Skip to content

Overview

This walkthrough takes you from zero to two running Aurora Catalyst apps:

  • An Aurora Hub — a Catalyst instance that owns identity (IAM) and issues OAuth tokens.
  • A satellite — a second Catalyst app that keeps no login form of its own and delegates all authentication to the hub.

By the end you will have logged into the hub as the seeded admin and bounced a satellite’s login through the hub via the OAuth 2.1 Authorization Code flow.

Every Catalyst backend reads one variable — OAUTH_STRATEGY — to decide its role:

RoleOAUTH_STRATEGYWhat it does
Hublocal-providerOwns identity, signs its own tokens, exposes a JWKS endpoint.
Satelliteaurora-hubTrusts the hub’s tokens (validates them against the hub’s JWKS) and keeps no local users.

For the full picture of the three modes and the token flow, see Authentication strategies.

  • The Aurora Catalyst CLI installed — see Install Aurora Catalyst CLI.
  • An Aurora Catalyst project scaffolded and pointed at a database — see Install Aurora Catalyst.
  • Node.js ≥ 24 (and the npm that ships with it).
  • A reachable SQL database for each app — the hub and the satellite must not share the same schema.
  1. Add IAM + OAuth to the hub — install the identity packages, generate signing keys, and log in.
  2. Install an Aurora satellite — scaffold a second app and delegate its login to the hub.

Follow them in order — each step assumes the previous one is done.