OAuth lets a user grant an application limited access to an API without sharing a password, and OpenID Connect adds a standard way to prove who the user is. Remote MCP servers, chat connectors, and agent platforms all build on these protocols, so you need to read token flows and spot weak configurations.
Read in this order
- ArticleAn Illustrated Guide to OAuth and OpenID Connect (Okta Developer)Start here: pictures of who talks to whom, and what each token is for.
- BookOAuth 2.0 Simplified (Aaron Parecki)A readable book that goes through every flow and its security details.
- OfficialOAuth 2.1 overview (oauth.net)What OAuth 2.1 changes, which is where current agent and MCP guidance is headed.