Skip to content

Glossary: Next.js Beyond the Basics

Catch-all segment

Also written: [...all]

A folder name like [...all] that matches any number of path parts. Better Auth's route handler uses it to receive every /api/auth/... request.

Where the book teaches it

Related terms

Route handlerDynamic segment