title: What is the replacement for the deprecated AuthorizationServer in Spring Security?
body: <p>Spring Security 5.2.2 has incorporated Spring Security OAuth project, but not AuthorizationServer or ResourceServer. What are the replacements to AuthorizationServer in Spring Security 5.2.2?</p>
  
  <p><a href="https://github.com/spring-projects/spring-security/wiki/OAuth-2.0-Migration-Guide" rel="noreferrer">OAuth-2.0-Migration-Guide</a></p>
  
  <blockquote>
    <p>This document contains guidance for moving OAuth 2.0 Clients and Resource Servers from Spring Security OAuth 2.x to Spring Security 5.2.x. Since Spring Security doesn’t provide Authorization Server support, migrating a Spring Security OAuth Authorization Server is out of scope for this document.</p>
  </blockquote>
  
  <p><a href="https://i.stack.imgur.com/kEzMH.png" rel="noreferrer"><img src="https://i.stack.imgur.com/kEzMH.png" alt="spring deprecation"></a></p>