liveBook · Manning

Spring Authorization Server

Spring Authorization Server is a Spring project for building OAuth 2.0 and OpenID Connect authorization servers.

How 3 Manning books explain it

Spring in Action, Sixth Edition

Spring Authorization Server is a Spring project that provides implementation components for building an OAuth2 authorization server.

How it is used
Provides an authorization server for issuing tokens to clients accessing a protected API.
How deep it goes
Walks through project setup, security configuration, client registration, and token requests using an early experimental release.
Examples
Uses a Taco Cloud authorization server, an in-memory admin client, and curl token and API requests.
What you can do after
Apply it via Spring Authorization Server to configure a local authorization server and exchange an authorization code for tokens.

Read how Spring in Action, Sixth Edition explains Spring Authorization Server →

Spring Security in Action, Second Edition

Spring Security Authorization Server is a Spring-based library for implementing OAuth 2.0 and OpenID Connect authorization servers.

How it is used
Implements customizable OAuth 2.0 and OpenID Connect authorization servers within Spring applications.
How deep it goes
Builds a minimal server through dependencies, filters, users, clients, signing keys, and settings, then extends it with grants and token features.
Examples
Uses a Spring application with an in-memory user, registered client, RSA key pair, two security filters, and runnable grant-flow tests.
What you can do after
Build it from scratch as a Spring authorization server supporting authorization code and client credentials flows.

Read how Spring Security in Action, Second Edition explains Spring Authorization Server →

Software Security for Developers

Spring Authorization Server is a Spring framework project for building OAuth 2.0 and OpenID Connect authorization servers.

How it is used
Uses a Spring-based identity provider to authenticate users and protect application endpoints through OAuth 2.0 and OpenID Connect.
How deep it goes
Demonstrates client configuration and an authorization-code exchange but deliberately stops short of detailed framework implementation.
Examples
Uses a local YAML configuration, discovery URL, authorization request, redirect callback, token request, and decoded JWT access token.
What you can do after
Configure it via Spring and exercise an authorization-code flow that produces access and ID tokens for a registered client.

Read how Software Security for Developers explains Spring Authorization Server →

What to know first

Related concepts

Questions about Spring Authorization Server

What is Spring Authorization Server?

Spring Authorization Server is a Spring project for building OAuth 2.0 and OpenID Connect authorization servers.

Which Manning books explain Spring Authorization Server?

Spring in Action, Sixth Edition, Spring Security in Action, Second Edition and Software Security for Developers.

What should I know before learning Spring Authorization Server?

Manning books that teach Spring Authorization Server usually introduce OAuth, basic authentication, JSON Web Token and openid connect first.

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.