Spring Security & OAuth 2.0 - In-Depth
Contents
00 Introduction
- The confusing OAuth 2.0 world
- What is OAuth 2.0
- Changelog
01 OAuth 2.0 - Fundamentals
- Meet: Resources, Owners & Clients
- Meet: Authorization Servers
- The Access Token OAuth 2.0 Dance
- Side-Note: Single Page Javascript & Native Apps
- How does the PKCE protocol work?
- The SPA & Native App Callback Problem
- Side-Note: Other OAuth2 flows
- How does the protected resource verify access tokens?
- OpenID - The OAuth 2.0 Social Login Dance
02 Spring Security & OAuth 2.0: Overview
- A version history
03 Spring Security & OAuth 2.0 Authorization Servers
04 Spring Security & OAuth 2.0 Resource Servers
- What dependencies do I need to get started with Spring Security and OAuth 2.0 Resource Servers?
- How do I configure the Resource Server support?
- What does my resource server code look like?
- Where can I find out more about Resource Server?
05 Spring Security & OAuth 2.0 Clients
- What dependencies do I need to get started with Spring Security and OAuth 2.0 Clients?
- How do I configure the client support to get a fully configured OAuth 2.0 rest client?
- How do I use the OAuth 2.0 WebClient?
- How do I protect my application with OAuth 2.0 logins?
- How does Spring represent a successful OAuth2Login? Is there a specific user/principal class?
- How do I protect my controllers and services with these authorities?
- How can I access the OAuth2User in my code?
- How to make a local copy of the OAuth2User
06 FAQ
- Can a resource server simultaneously be a client?
- Your Question
07 Fin
- Outro
- What’s missing in this article
- Full Source Code
- Acknowledgments