OAuth
OAuth is an authorization framework that enables a client to obtain limited, delegated access to protected resources without receiving the resource owner's credentials.
Spring Microservices in Action
OAuth 2.0 is an authorization framework that enables clients to obtain limited access to protected resources.
- How it is used
- Secures microservice requests without passing user credentials to every service in a call chain.
- How deep it goes
- Walks through an authorization service, protected resources, and token propagation, while leaving infrastructure patching and network access controls outside the treatment.
- Examples
- Uses a password-grant login and a licensing-to-organization service call through a Zuul gateway.
- What you can do after
- Apply OAuth using Spring Cloud Security to configure an authorization service, protect services, and propagate access tokens.
Software Security for Developers
OAuth is an authorization framework that enables delegated access to protected resources without sharing the resource owner's credentials with the resource server.
- How it is used
- Delegates authentication and protected-resource authorization to an identity provider across web, mobile, and service applications.
- How deep it goes
- Explains actors, grant types, tokens, PKCE, and refresh-token handling, while deferring complete protocol implementation details.
- Examples
- Uses employee SSO, social login, authorization-code flows, client credentials, JWTs, PKCE, and refresh-token scenarios.
- What you can do after
- Apply OAuth 2.0 and OIDC flows to design delegated access, SSO, token validation, and safer user sessions.
Authorization in Action
OAuth 2.0 is an open authorization framework that lets applications obtain limited delegated access to protected resources without exposing a user's credentials.
- How it is used
- Enables limited external API delegation without sharing customer passwords.
- How deep it goes
- Explains OAuth roles, scopes and two grant types, then traces token validation into policy evaluation at an API gateway.
- Examples
- Uses a reporting app accessing workspace metadata and a task app performing background synchronization.
- What you can do after
- Evaluate how OAuth scopes and gateway policy checks combine to constrain a third-party API request.
.NET MAUI in Action
OAuth is an authorization framework that allows an application to obtain delegated access to protected resources without receiving the user's password.
- How it is used
- Authenticates .NET MAUI users through a browser and obtains tokens for protected API calls.
- How deep it goes
- Walks through OIDC client configuration, browser callbacks, platform URL registration, and token attachment; defers broader identity topics.
- Examples
- Uses an IdentityServer-backed MAUIStockTake app with LoginAsync, a custom callback URL, AuthBrowser, and AuthService.
- What you can do after
- Apply it via WebAuthenticator and OidcClient to sign in users and attach access tokens to HTTP requests.
ASP.NET Core in Action, 3e
OAuth 2.0 is an authorization protocol that lets a resource owner delegate controlled access to protected resources without revealing credentials to the accessing service.
- How it is used
- Delegates controlled access from a resource owner to another application without exposing credentials.
- How deep it goes
- Explains the authorization-code sequence and grant-type choices, but stops short of protocol internals or implementation code.
- Examples
- Uses dogphotos.com accessing Facebook photos through redirects, consent, an authorization code, and delegated access.
- What you can do after
- Evaluate authorization flows and choose interactive or machine-to-machine grants for API access scenarios.
Acing the CCNA Exam: Volume 2 Advanced Networking and Security
OAuth 2.0 is an industry-standard authorization framework that delegates controlled access to protected resources without sharing the resource owner's credentials with a third-party application.
- How it is used
- Delegates third-party access to protected REST API resources on a user’s behalf without sharing the user’s credentials.
- How deep it goes
- Explains the basic authorization sequence and its participants, but does not detail specific grant types or implementation configuration.
- Examples
- Uses a process diagram showing a client obtaining delegated access to a resource owner’s protected resource.
- What you can do after
- Apply it to understand how a client obtains an access token and uses delegated authorization to access protected API resources.
Read how Acing the CCNA Exam: Volume 2 Advanced Networking and Security explains OAuth →
Secure APIs
OAuth 2.0 is the earlier major version of the OAuth authorization framework that defined multiple authorization flows for delegated access.
- How it is used
- Delegates limited API access to web, mobile, and programmatic clients without sharing user passwords.
- How deep it goes
- Explains roles, scopes, tokens, and four flows, then adds PKCE and sender-constrained-token protections without implementation code.
- Examples
- Uses a job portal importing LinkedIn employment history and identifies microservices and smart TVs as flow-selection scenarios.
- What you can do after
- Apply OAuth by selecting a flow, requesting scopes, and using time-limited access tokens for delegated API access.
Spring Security in Action, Second Edition
OAuth 2 is an authorization framework specification for delegated access to protected resources using access tokens.
- How it is used
- Uses delegated access tokens to authorize clients against protected resources and to authenticate Spring applications through external providers.
- How deep it goes
- Explains actors, token categories, grant types, PKCE, refresh tokens, and Spring configuration, without detailing protocol message exchanges.
- Examples
- Demonstrates external-provider login, custom provider URIs, opaque-token introspection, client credentials, and Spring Security client managers.
- What you can do after
- Apply OAuth 2 through Spring Security for external login and backend-to-backend access-token requests.
Read how Spring Security in Action, Second Edition explains OAuth →
Grokking Software Architecture
A version of the OAuth authorization framework that enables delegated, token-based access to protected resources.
- How it is used
- Delegates token-based authorization so users or services can access protected resources without exposing passwords.
- How deep it goes
- Defines authorization, distinguishes it from authentication, and names flows and PKCE without detailing implementation steps.
- Examples
- Contrasts human sign-in to web or mobile apps with backend service-to-service access.
- What you can do after
- Evaluate whether Authorization Code Flow with PKCE or Client Credentials Flow fits a human or service access scenario.
Spring in Action, Sixth Edition
OAuth 2 is an authorization framework that enables a client to obtain limited access to protected resources on behalf of a resource owner.
- How it is used
- Secures REST APIs with limited, token-based trust and supports third-party sign-in through OAuth 2 or OpenID Connect.
- How deep it goes
- Explains authorization servers, resource servers, access tokens, scopes, and Spring configuration without detailing protocol internals.
- Examples
- Uses valet keys, Taco Cloud Facebook sign-in, client scopes, protected routes, and Spring OAuth2 client configuration.
- What you can do after
- Configure Spring Security OAuth2 clients and understand how authorization servers and resource servers protect API requests.
Building Distributed Applications that Work
OAuth is an authorization framework that enables clients to obtain limited access to protected resources without handling the resource owner's credentials.
- How it is used
- Provides authorization alongside OIDC authentication in an IdP-backed single sign-on flow.
- How deep it goes
- Defines OAuth's authorization role and sketches token-based sessions, but defers protocol details.
- Examples
- Uses an administrator-only page and an online shop whose accounts and orders require protection.
- What you can do after
- Evaluate/understand where authorization fits when securing access to an IdP-backed application.
Read how Building Distributed Applications that Work explains OAuth →
Also covered in
- Automating API Delivery
- Grokking Web Application Security
- Build AI-Enhanced Web Apps
- AI GovernanceIn early access (MEAP)
- Kafka for Architects
- Snowflake Data Engineering
- Learn Go with Pocket-Sized Projects
What to know first
- authenticationAuthentication is the process of verifying the claimed identity of a user, service, device, or other entity.
- authorizationAuthorization is the determination of which actions or resources an identity or other entity is permitted to access under defined permissions or policies.
- authorization code flowThe authorization code flow is an OAuth authorization flow in which a client obtains a short-lived authorization code after authorization and exchanges it for tokens.
- credentialA credential is information or an artifact presented to verify an entity’s identity or establish its authorization to access a system or resource.
Related concepts
- openid connectused by · OpenID Connect is an identity layer built on OAuth 2.0 that enables clients to authenticate end users and obtain standardized identity claims.
- API keyproduces · An API key is a credential, usually represented as a string or token, presented with API requests to identify or authenticate a client and potentially authorize access.
- scopeuses · Scope is a defined boundary that determines what entities, activities, resources, or conditions are included, governed, or permitted in a particular context.
- authenticationuses · Authentication is the process of verifying the claimed identity of a user, service, device, or other entity.
- authorization code flowhas part · The authorization code flow is an OAuth authorization flow in which a client obtains a short-lived authorization code after authorization and exchanges it for tokens.
- authorizationimplements · Authorization is the determination of which actions or resources an identity or other entity is permitted to access under defined permissions or policies.
Questions about OAuth
What is OAuth?
OAuth is an authorization framework that enables a client to obtain limited, delegated access to protected resources without receiving the resource owner's credentials.
Which Manning books explain OAuth?
Spring Microservices in Action, Software Security for Developers, Authorization in Action, .NET MAUI in Action, ASP.NET Core in Action, 3e, Acing the CCNA Exam: Volume 2 Advanced Networking and Security, Secure APIs, Spring Security in Action, Second Edition and 3 more.
What should I know before learning OAuth?
Manning books that teach OAuth usually introduce authentication, authorization, authorization code flow and credential first.
What are the parts of OAuth?
OAuth includes authorization code flow.
What is OAuth also called?
OAuth is also called OAuth2 or Open Authorization.
These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.










