Authentication Layer (Clerk Middleware)
Clerk middleware and auth routes are present in code; source docs still include legacy NextAuth references.
Workflow diagram
Swipe horizontally to inspect the full diagram.
Part of project
RPS DigitalParent project
Authentication Layer (Clerk Middleware)This workflow
Workflow diagramRendered with the workflowWorkflow
Authentication Layer (Clerk Middleware)
- Request hits Clerk middlewareaction
- Route ignored?decision
- Route public?decision
- Require Clerk session for protected routesaction
- Proceed to route handlerstate