In a Spring Boot application, the _____ annotation can be used to enable OAuth2 Authorization Server features.

  • @EnableOAuth2
  • @EnableOAuth2AuthorizationServer
  • @EnableOAuth2Client
  • @EnableSecurity
In a Spring Boot application, the @EnableOAuth2AuthorizationServer annotation is used to enable OAuth2 Authorization Server features. This annotation is crucial when you want your Spring Boot application to act as an OAuth2 Authorization Server. It allows you to configure and provide OAuth2 tokens to clients securely.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *