Aurora Identity
One account, roles and billing across products
One login and one bill across every product, with access that follows the customer's plan.
- Role
- Lead Full Stack Developer
- Built at
- Aurora Nexus
- Platform
- Web
- Type
- Shared service
- Stack
- Next.js, Node.js, GraphQL, Stripe +1
- Live
- Visit site ↗
Someone opens one of the products and is sent to sign in.
Problem
Each product had its own login and its own invoices. Customers juggled accounts, and admins had no single place to decide who could do what.
Approach
A central identity service. People sign in once with Google or Microsoft, roles are defined once and checked by every product, and subscriptions run through Stripe webhooks instead of manual invoicing.
Key decisions
One GraphQL API
Instead of: Separate REST endpoints per serviceApps need the profile, permissions and plan together when they load. One query returns all three in a single round trip.
Billing drives access
Instead of: Keeping plans and roles in sync by handStripe webhooks update a customer's plan, and their access changes with it in every product. Nobody has to remember to revoke access after a cancellation.
Tenant details inside the sign-in token
Instead of: Looking up the organisation on every requestEach product can tell who the user is and which organisation they belong to without calling back to the identity service.