Overview of AuthKit usage patterns
mainAuthKit provides two primary ways to implement authentication and user management:
- Hosted UI: The fastest implementation method. It provides a fully themeable, hosted user interface that manages all authentication flows. For production, you can use a custom domain (e.g.,
auth.yourapp.com). - Custom UI (Headless): Allows you to build your own frontend within your own codebase by integrating directly with the headless WorkOS User Management APIs. In this mode, your authentication UI is self-hosted in your application.