As its name suggests, a resource server holds resources (in the form of data, services, files, and so on), which can be accessed by the resource owner by providing valid authorization. The process of providing authorization happens in the form of a token sharing mechanism.
The authorization server creates a token after authentication, which is used by a resource server to serve the restricted resources. For all incoming requests for protected resources, the resource server will check the validity of the access token with the authorization server. This is the flow of the system, in brief. Now, we will create a resource server with a separate Spring Boot application.
Spring allows for creating a resource server ...