In theory, HyperResource should be able to work with APIs that refer to URLs originating on a different server. In practice, this opens up a class of security problems that could result from sharing headers, etc. among the various servers.
I don't have a clear idea how to solve this most elegantly, but I recognize that this needs to be handled. A single-origin policy should be in place at minimum, but I would rather provide a richer set of controls around authentication to different servers.
In theory, HyperResource should be able to work with APIs that refer to URLs originating on a different server. In practice, this opens up a class of security problems that could result from sharing headers, etc. among the various servers.
I don't have a clear idea how to solve this most elegantly, but I recognize that this needs to be handled. A single-origin policy should be in place at minimum, but I would rather provide a richer set of controls around authentication to different servers.