SpinTheMic
Pro

Interview practice question

Designing scopes for a public API

Backend Engineering · Auth and Security · Intermediate

Your public API will support third-party apps via OAuth. How would you design scopes?

What a strong answer covers

Your AI report card counts how many of these ideas you cover.

  • Resource:action granularity (orders:read).
  • Least privilege by default.
  • Separate sensitive scopes.
  • Clear consent screen descriptions.
  • Enforce per endpoint.
Practise this topic

Start without signing up. Sign in free to get an AI report card on your answer.

See all topics