Spring Security OAuth2 & Co Explained
summary
Spring Authorization Server returns as a Spring project option and now implements the full set of OAuth2/OAuth2.1 flows: Token Exchange and a device-style grant appear while implicit and resource‑owner flows are deprecated. Spring Security ships a new synchronous Rest Client with an OAuth2 interceptor bean to replace RestTemplate. The Authorization Server expects a simple DB schema (clients, tokens) pulled from the dependency, supports OIDC id_tokens alongside OAuth2, and SAML uses signed XML; metadata auto-refresh and optional signing/encryption are supported.
AI-written summary · about
