Laravel Sanctum Token Abilities: Scoping API Access for AI Agents and First-Party Clients
A full Sanctum installation authenticates a request, but it does not tell you what that request should be allowed to do. This guide covers designing an ability vocabulary, enforcing it at the route and policy layer, and rotating credentials for AI agents that never log out.
