Resource Server
A resource server is the system that holds the data or services an application wants to reach, such as a backend API. Before it hands anything over, it checks the access token that the requesting application presents to confirm the request is permitted. In everyday terms, it is the server guarding the protected resource and deciding whether an incoming request carries valid authorization.
In the OAuth 2.0 framework, the resource server is the entity that hosts protected resources and serves requests that carry an access token, typically implemented as a backend API. On receiving a request, it validates the presented access token and, depending on configuration, enforces the scopes or other authorization data associated with that token before granting access. Token validation may be performed by inspecting a self-contained token (for example a signed JWT) or by consulting the authorization server (for example via an introspection endpoint) for opaque tokens; the specific mechanism varies by deployment and vendor. The resource server is an authorization-enforcement component acting on delegated access granted through OAuth 2.0, and it is distinct from the authorization server that issues tokens; note that OAuth 2.0 itself is a delegated authorization framework rather than a user authentication protocol.
Why it matters
The resource server is where delegated authorization is actually enforced. An authorization server can issue perfectly valid, correctly scoped access tokens, but if the resource server fails to validate those tokens rigorously, checking signature or introspection result, expiry, audience, issuer, and the scopes required for the requested operation, then the protection is only theoretical. In practice, many API exposure incidents trace back not to broken cryptography but to resource servers that accepted tokens without verifying that the token actually authorized the specific action or object being requested. This makes the resource server a critical control point in any OAuth 2.0 deployment.
Because the resource server sits at the boundary between the outside world and protected data, its validation behavior determines the real-world blast radius of a leaked or over-privileged token. A resource server that enforces scopes narrowly limits what a compromised token can do; one that treats any signed token as fully trusted effectively removes the value of scoping. Since token validation mechanisms vary by deployment, self-contained JWT verification versus introspection of opaque tokens, misconfiguration risk is concentrated here, and inconsistent enforcement across multiple resource servers behind the same authorization server is a common source of gaps.
It is worth stressing that OAuth 2.0, and therefore the resource server's checks, concern delegated authorization rather than user authentication. A resource server confirms that a request carries valid authorization to reach a resource; it does not by itself authenticate an end user's identity. Treating a valid access token as proof of who the user is, rather than as proof of what access was delegated, is a recurring architectural mistake that resource server designers should guard against.
Who it's relevant to
Inside Resource Server
Common questions
Answers to the questions practitioners most commonly ask about Resource Server.
