Workflow

    Authentication Layer (Clerk Middleware)

    Clerk middleware and auth routes are present in code; source docs still include legacy NextAuth references.

    authclerksystemRPS Digital

    Workflow steps

    1. 1

      Request hits Clerk middleware

      Action

    2. 2

      Route ignored?

      Decision

    3. 3

      Route public?

      Decision

    4. 4

      Require Clerk session for protected routes

      Action

    5. 5

      Proceed to route handler

      State

    Workflow diagram

    Part of project

    RPS DigitalParent project
    Authentication Layer (Clerk Middleware)This workflow