I have both consumer and provider behind Apache, with actual names (
as opposed to localhost:port) , however when doing CAS, the provider sends the request back to the instance:port location instead of the URL I am accessing it with.
The provider is defined in terms of its "external" URL (that is, not instance:port). That part works well.
Is there a way to setup the consumer server name so that the callback is sent to the correct location?
To note, if I manually adjust the callback URL, the consumer correctly manages the login.