Auth0 + OpenFGA
summary
Shows an end-to-end demo that actually works: a React + Node expenses app using Auth0 for auth and OpenFGA for relationship-based authorization, bootstrapping an authorization model and tuples in the OpenFGA playground and running locally via Docker. Details include adding an employee_id claim to access tokens via Auth0 Actions, OpenFGA queries that check manager/manager-of-manager relationships, and code changes to add undo buttons. Good if you want runnable code, SDK names, and exact wiring; skip it for high-level theory only.
AI-written summary · about
chapters (8)
- 0:00Introduction to Auth0 and OpenFGA
- 8:36Workshop overview and setup
- 12:12Integrating Auth0 with expenses app
- 22:39OpenFGA playground and model setup
- 28:56Enriching access tokens with employee ID
- 33:33Testing access control with OpenFGA
- 38:46Manager override with nested relationships
- 42:25Workshop summary and Q&A
