Skip to content

Function: isAuthPath()

isAuthPath(path): boolean

True only for the auth mount itself or one of its descendants.

Segment-aware matching prevents lookalike application routes such as /api/email/authz from being treated as public authentication endpoints.

string

boolean