Re: [cas-user] logout requests behind load balancer / 'REMOTE_ADDR'

2019-06-25 Thread Austin
11 On Tue, Jun 25, 2019 at 5:17 AM Ray Bon wrote: > Austin, > > What you say makes sense. > Load balancers are out of my realm. Is it possible for the load balancer > to preserve REMOTE_ADDR? > > Ray > > On Mon, 2019-06-24 at 15:37 -1000, Austin wrote: > > Hello Ra

Re: [cas-user] logout requests behind load balancer / 'REMOTE_ADDR'

2019-06-24 Thread Austin
ain via $cas_real_hosts) to IP addresses, that still won't work because again, $_SERVER['REMOTE_ADDR'] returns the load balancer's IP. I think instead of setting $client_ip = $_SERVER['REMOTE_ADDR'];, it should check the various x-forwarded-for, etc. address I menti

[cas-user] logout requests behind load balancer / 'REMOTE_ADDR'

2019-06-14 Thread Austin
Hello CAS developers, I have a couple of questions about logout requests behind a load balancer. 1) In Client.php public function handleLogoutRequests($check_client=true, $allowed_clients=array()) { phpCAS::traceBegin(); if (!$this->_isLogoutRequest()) { phpCA

Re: [cas-user] phpCAS logging logins

2019-05-17 Thread Austin
s/-/phpCAS/setPostAuthenticateCallback/php-phpcas-setpostauthenticatecallback-method-examples.html It only gets called once after the initial login even if I call phpCAS::forceAuthentication() on each page. On Fri, May 17, 2019 at 8:17 AM Ray Bon wrote: > Austin, > > You do not have to include the log in code on

[cas-user] phpCAS logging logins

2019-05-16 Thread Austin
e user logins in my database after the initial authentication. However, is there any way to tell if the authentication is due to a CAS login or if it's just authenticating against the phpCAS session cookie? Thanks, Austin -- - Website: https://apereo.github.io/cas - Gitter Chatroom: https: