Lightlines
By sickn33

clerk-auth

sickn33818 installs

Clerk sign-in and access checks for Next.js apps.

What it does

Guides implementation of Clerk authentication, route protection, organization access, and user synchronization.

When to use it

Use when the task involves authentication, sign-in, sign-up, user management, multi-tenancy, organizations, or single sign-on.

How to use it

It changes how the agent implements Clerk authentication in a project, including centralized middleware and explicit route protection.

What you provide

  • An existing project

Uses

Latest review

What you need · 9

The Next.js authentication patterns use Clerk's @clerk/nextjs package.

The setup supplies the Clerk publishable key through environment variables in .env.local, alongside CLERK_SECRET_KEY.

The Clerk secret key must be supplied through environment variables and used only server-side.

Routes database work to postgres-wizard for a user table with clerkId; whether installation is required is unstated.


Access · 0

No additional actions listed.