Skip to main content
Mastra v1 was released! Start new projects with v1 or upgrade your existing project today.

Auth Overview

Mastra lets you choose how you handle authentication, so you can secure access to your application's endpoints using the identity system that fits your stack.

You can start with simple shared secret JWT authentication and switch to providers like Supabase, Firebase Auth, Auth0, Clerk, or WorkOS when you need more advanced identity features.

Available providersDirect link to Available providers

On this page