Skip to content

Lesson 3 of 12 · 3 min read

Authorization at the Protocol Boundary

When an agent calls a tool server or another agent for a user, authorization has to answer: on whose behalf, by which agent, to which service, for what. OAuth mechanisms answer most of it: audience-bound tokens (resource indicators) so a token works only at the intended server, token exchange so an agent obtains a narrower token for a downstream call instead of forwarding the user's, scopes requested incrementally as the task needs them, and no token passthrough. The server still makes the final decision per call, against the user's actual permissions on the specific resource, which is how confused-deputy failures are avoided.

Reviewed By the AIAgentInterviews editorial team
free sign-in, no card required

Practise it as an interviewer asks it

Course lessons that teach this

Related lessons