Grokking the Model Context Protocol (MCP)
0% completed
Validating Tokens: Audience, Issuer, and Scopes
Two requests reach the Costbook server in the same second, and each has a token in its Authorization header. Both tokens are long strings that begin with eyJ. Both were issued by https://auth.costbook.example for user usr_5310, and neither has expired.
The first token was issued for the Costbook MCP server. The second was issued for the Costbook API at https://api.costbook.example, where the web application uses it. The server must accept the first and reject the second, although the two look the same
.....
.....
.....
Like the course? Get enrolled and start learning!
Reading Progress
0%