authentication challenge

The response telling a caller with no valid credential to authenticate, a 401 status with a WWW-Authenticate header.

In more detail

The framework sends it automatically when an endpoint requires an authenticated user and none is present. It differs from a forbidden response, which tells an identified caller they lack permission.

Related terms

Taught in

References