In Spring OAuth2 it it possible to separate Authorization server and Resource server into separate applications. Like stated in : https://github.com/spring-projects/spring-security-oauth/wiki/oAuth2
Seemingly both web applications require these:
- instance of AuthorizationServerTokenServices
- instance of ClientDetailsService
QUESTION: Is it so that AuthorizationServerTokenServices from Authorization server must use the same data source as the AuthorizationServerTokenServices from Resource server?
The same question goes for ClientDetailsService.
E.g. when having multiple resource servers, and an authorization server, all of them must use the same database for token management, and then same database for the client management?