Introduction
Auth testing checks who can use an API. It helps keep data safe by stopping bad users.
When you want to make sure only allowed users can get data from your API.
When you add a new login or token system to your API.
When you fix security problems found in your API.
When you want to check if expired tokens are blocked.
When you test if users can only do actions they are allowed to.