i fixed my last message now 

Le lundi 13 juin 2022 à 16:02:46 UTC, Baba Ndiaye a écrit :

>
> root@srv-CAS-2:/var/log/cas# tail -f cas_audit.log
> WHAT: {service=https:// *mymoodleinterne.mydomainlocal.com 
> <http://mymoodleinterne.mydomainlocal.com/>*/login/index.php?authCAS=CAS, 
> return=ST-6-uhIj2avGSKcabZjLUZLyESI6pCg-srv-CAS-2}
> ACTION: SERVICE_TICKET_CREATED
> APPLICATION: CAS
> WHEN: Mon Jun 13 15:48:08 UTC 2022
> CLIENT IP ADDRESS: 127.0.0.1
> SERVER IP ADDRESS: 127.0.0.1
> =============================================================
> also can i have the real ip address for client and server (i installed 
> nginx for proxy https://mycas.example.com:8443/cas to 
> https://mycas.example.com )
>
> Le lundi 13 juin 2022 à 15:12:40 UTC, Ray Bon a écrit :
>
>> Baba,
>>
>> This sounds like Haproxy config issue. Perhaps that user list could help.
>>
>> Ray
>>
>> On Mon, 2022-06-13 at 03:06 -0700, Baba Ndiaye wrote:
>>
>> Notice: This message was sent from outside the University of Victoria 
>> email system. Please be cautious with links and sensitive information. 
>>
>>
>> Hello guys  
>> I'm using Haproxy (public IP) and moodle for my backend (private IP). Now 
>> it's work nice. But when i use CAS SSO for the authentication in my url 
>> service i have the address of my backend moodle and not my frontend like 
>> this  https://*mycas.example.com <http://mycas.example.com>*
>> /cas/login?service=https%3A%2F%2F*mymoodleinterne.mydomainlocal.com 
>> <http://mymoodleinterne.mydomainlocal.com>*
>> %2Flogin%2Findex.php%3FauthCAS%3DCAS
>> my frontend url adress *myhaproxy.example.com 
>> <http://myhaproxy.example.com>* 
>> my moodle url address mymoodleinterne.mydomainlocal.com
>> i want if that my CAS use myhaproxy url and not mymoodleinterne
>>
>> Le vendredi 11 mars 2022 à 15:26:14 UTC, C Ryan a écrit :
>>
>> Perfect, that did it.
>>
>> Thanks Misagh
>> On 3/10/22 11:44 PM, Misagh wrote:
>>
>> Sorry. Didn't realize you are on 6.3.x. Use:
>>
>> cas.audit.alternate-client-addr-header-name=X-Forwarded-For
>>
>> On Fri, Mar 11, 2022, 8:40 AM Misagh <[email protected]> wrote:
>>
>>
>>    - cas.audit.engine.alternate-client-addr-header-name= 
>>
>>
>>    - 
>>    
>>    Request header to use to identify the client address.
>>    
>>    If the application is sitting behind a load balancer, the client 
>>    address typically ends up being the load balancer address itself. A 
>> common 
>>    example for a header here would be X-Forwarded-For to glean the 
>>    client address from the request, assuming the load balancer is configured 
>>    correctly to pass that header along.
>>    
>>
>> -- Misagh
>>
>> On Fri, Mar 11, 2022, 4:54 AM Colin Ryan <[email protected]> wrote:
>>
>> Folks,
>>
>> I know there's lots of info on this but I just can't seem to make it go, 
>> it should be a no brainer...but...alas...
>>
>>
>> I'm running CAS 6.3 in a Docker Container with embedded Spring Tomcat. 
>> In front of this is Apache2 Reverse Proxy with straight forward 
>> ProxyPass/ProxyPassReverse configurations. CAS itself is working 
>> completely but the CLIENT-IP in the audit logs is showing the IP of the 
>> Reverse Proxy.
>>
>> What Directives do I need in cas.properties to correct this.
>>
>> from the CAS Shell I've found the:
>>
>>
>>   server.tomcat.remote-ip-header: X-FORWARDED-FOR
>>
>>
>> directive and I've tried a few other server directives from the Spring 
>> Boot world, just can't make it work.
>>
>>
>>
>> -- 
>> - Website: https://apereo.github.io/cas
>> - Gitter Chatroom: https://gitter.im/apereo/cas
>> - List Guidelines: https://goo.gl/1VRrw7
>> - Contributions: https://goo.gl/mh7qDG
>> --- 
>> You received this message because you are subscribed to the Google Groups 
>> "CAS Community" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to [email protected].
>> To view this discussion on the web visit 
>> https://groups.google.com/a/apereo.org/d/msgid/cas-user/c52de75b-b2ba-ac98-0a4b-6ba27f170d12%40caveo.ca
>> .
>>
>>
>> -- Misagh
>>
>> -- 
>>
>> Ray Bon
>> Programmer Analyst
>> Development Services, University Systems
>> 2507218831 <(250)%20721-8831> | CLE 019 | [email protected]
>>
>> I acknowledge and respect the lək̓ʷəŋən peoples on whose traditional 
>> territory the university stands, and the Songhees, Esquimalt and WSÁNEĆ 
>> peoples whose historical relationships with the land continue to this day.
>>
>

-- 
- Website: https://apereo.github.io/cas
- Gitter Chatroom: https://gitter.im/apereo/cas
- List Guidelines: https://goo.gl/1VRrw7
- Contributions: https://goo.gl/mh7qDG
--- 
You received this message because you are subscribed to the Google Groups "CAS 
Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/301c5aa9-9e5e-4b1f-9c31-b7d2d6d6a0abn%40apereo.org.

Reply via email to