API authentication and authorization

Use Sanctum tokens, owner checks, and policy tests to decide which records an API caller can change.

Free course3 lessons · About 76 min of reading

Your tasks

  1. 01Authenticate and scope a task API 26 min
  2. 02Combine ownership with token abilities 23 min
  3. 03Test the authorization matrix 27 min
Course challenge