Using the tonr/sparklr samples, I started separating the auth server and resource server into different projects as a POC when I began to realize how a single auth server is also a potential single point of failure. If I were to deploy the auth server project to a clustered environment (with, say, two nodes, AuthA and AuthB), are there any potential issues where subsequent requests to "/oauth/token" that are served by different auth server nodes could fail? If so, are there constraints I should keep in mind to prevent this? Has anyone tried this implementation approach?
Keep in mind the root part of the URL would not be different for AuthA and AuthB, i.e., the resource servers and clients would only "talk" to 1 auth server. A reverse proxy/load balancer would then route the request to the auth server nodes in an alternating fashion.


Reply With Quote
