Packages
Auth
A wrapper around Clerk for centralized authentication and authorization logic.
The auth package is a critical part of our security infrastructure. It serves as a centralized wrapper around our authentication provider, Clerk.
By channeling all authentication and authorization logic through this package, we ensure a consistent and secure implementation across the entire platform. This package exports all the necessary components, hooks, and server-side utilities for managing user sessions, protecting routes, and handling role-based access control.
For more detailed information, refer to the Authentication guide.