OAuth2 Flow
Spring Security & OAuth 2.0: In-Depth