Apache SSO using mod_auth_remote
Has anyone used the mod_auth_remote module to delegate authentication?
I have two apache2 servers. One is a content server and the other one is the sso/auth server.
When the content server receives a request for a resource protected by basic authentication, the request is forwarded to the sso server for authentication. So far so good.
But, the sso server should return a http 200 to the content server and granting access to the user. However, the sso server always returns a http 301 to the content server. So I appear to be stuck in an authentication loop.
Content server config:
AuthName "Content server"
Sso server config:
AuthName "Test auth"
Or perhaps you have a better way of accomplishing apache sso across multiple servers?