Clerk Astro SDK
The Clerk Astro SDK gives you access to prebuilt components, stores, and helpers to make user authentication easier. Refer to the quickstart guide to get started.
Client-side helpers
The Astro SDK provides stores that give you access to the Clerk object and helper methods for authentication flows.
$authStore$clerkStore$userStore$signInStore$signUpStore$sessionStore$sessionListStore$organizationStore
Server-side helpers
The following references show how to integrate Clerk features into your Astro app on the server-side.
Locals
The Astro SDK provides access to Clerk's authentication data through Astro's locals object. The following references show how to access authentication data in server-side code:
clerkMiddleware()
The clerkMiddleware() helper integrates Clerk authentication and authorization into your Astro application through middleware. You can learn more here.
clerkClient()
Feedback
Last updated on