Clerk Authentication Demo
This page demonstrates both client-side and server-side authentication with Clerk
Authentication Status
Server-side status: Not Authenticated
Client-side Authentication
You are signed out
Server-side Protection
The loader function in this route demonstrates server-side authentication checking. Currently, it allows both authenticated and unauthenticated users to view this page.
To enable server-side protection:
Uncomment the redirect logic in the loader function:
// if (!userId) { // return redirect("/sign-in"); // }