This is the example of using oauth2 authorization server with separate resource server behind Zuul proxy. It supports internal client authorization workflow (grant_type = password
) with example usages. The related article is here.
- zuul is Zuul Proxy (http://localhost:8080).
- oauth-as is OAuth2 Authorization Server (http://localhost:8080/as, behind proxy).
- oauth-rs is OAuth2 Resource Server (http://localhost:8080/rs, behind proxy).
You can start everything using gradle --parallel bootRun
in the root directory.