I was following this guide which mentions that the @EnableAuthorizationServer is deprecated. But when I created a project with the following dependencies, I am
@EnableAuthorizationServer