I have 2 applications:
- Spring Application 1 is client and resource server.
- Spring Application 2 is authorization server.
User will be able to login in Application 1 and access its resources. And I want to implement the following flow:
User enter his credentials in login form -> Application 1 will get token from Application 2 using user credentials and its clientId with password grant type -> Access resources of Application 1 with token.
The question is if Spring Security 5 supports password grant type for client? I found all rest grant types, but not password in Spring Security 5 implementation.