Lesson 10 of 12 · 6 min read
The MCP Authorization Flow, Step by Step
Remote MCP servers use OAuth. A request without a valid token gets 401 with a WWW-Authenticate header naming the server's protected resource metadata (RFC 9728), which lists its authorization servers. The client reads their metadata, registers (Client ID Metadata Documents preferred, Dynamic Client Registration deprecated in the 2026-07-28 revision), runs an authorization code flow with PKCE and the resource parameter (RFC 8707), checks the issuer (RFC 9207), and sends the token on every request. Servers check audience, never pass tokens through, and answer missing scope with 403 insufficient_scope.
All 19 topics with every worked answer, all lessons and courses, the full practice bank, and anything new that appears during your access.
6 months · One payment · No auto-renewal