WorkOS
82 Case Studies
A WorkOS Case Study
Vercel needed a way to add enterprise-grade authentication to its AI tools that fit seamlessly within the Next.js model, avoiding complex middleware and stateful session bloat that would break its compelling simplicity. They partnered with WorkOS and its AuthKit product to solve this challenge.
WorkOS implemented a solution using an authHandler pattern that wraps the entire MCP server, providing clean separation of concerns and handling authentication declaratively. This allowed Vercel to deploy secure MCP servers globally on Vercel Edge with zero configuration, achieving enterprise JWT authentication, automatic user context, and SSO support in under five minutes.