resource server
In OAuth, the API that holds the protected data and accepts access tokens.
In more detail
It checks the token’s signature, issuer, audience, expiry and scopes itself and enforces its own policy, rather than trusting the client to limit itself. In most designs it is simply the API being called.
Related terms
- OAuth 2.0 — A framework for delegated authorization: a user lets an application call an API on their behalf without giving it their password.
- audience — The recipient a token is meant for, named in its aud claim, such as one particular API.
- OAuth scope — A named permission a token carries, such as tasks:read or tasks:write, limiting what the token may be used for.
Taught in
- Remote Servers And Trust — AI Engineering: LLM Apps, RAG & Agents
- OAuth Two And OpenID Connect — Modern API Architecture: REST, GraphQL & gRPC
- Scopes And Key Rotation — Modern API Architecture: REST, GraphQL & gRPC