Check the Code on Github
Join Discussion in Slack
Multi-Tenant Analytics with Auth0 and Cube.js
We'll learn how to secure web applications with industry-standard and proven authentication mechanisms such as JSON Web Tokens, JSON Web Keys, OAuth 2.0 protocol.
AUTHENTICATION & AUTHORIZATION
Secure Your Analytical App
Start with an openly accessible, insecure analytical app and walk through a series of steps to turn it into a secure app integrated with an external authentication provider.
MULTI-TENANCY VIA SECURITY CONTEXT
Serve Data to Multiple Tenants
Build a multi-tenant analytical app with role-based access control based on security claims which are stored in JSON Web Tokens
EXTERNAL AUTHENTICATION PROVIDER
Integrate with Auth0
Add integration with an external provider such as Auth0 and use JSON Web Key Sets to validate JSON Web Tokens
Table of Contents
Security... Why bother?
Step 0. Openly accessible analytical app
Step 1. Authentication with JWTs
Step 2. Authorization with JWTs
Step 3. Identification via Auth0
Step 4. Accountability with audit logs