[cas-user] Re: How to configure keycloak / CSRF exception

2020-01-07 Thread craab
I am running 6.1.2 btw -- - 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.

Re: [cas-user] CAS and database

2020-01-07 Thread Andy Ng
Hi, I would highly recommend following https://dacurry-tns.github.io/deploying-apereo-cas/introduction_overview.html and read through it so you get a better idea of how CAS works in generaal. However, if you just want your database to setup and don't want to dive deep, you might follows

Re: [cas-user] How to configure RemoteIpValve with embedded tomcat in cas 6.1.x for Load Balancer

2020-01-07 Thread crdaudt
Thanks Pascal, I have confirmed what you proposed as a workaround: I replaced the following: server.tomcat.accesslog.pattern=%h %l %u %t "%r" %s %b with the following: server.tomcat.accesslog.pattern=%{X-Forwarded-For}i %l %u %t "%r" %s %b I.e., I replaced '%h' with '%{X-Forwarded-For}i' There

Re: [cas-user] OIDC provider multi node ST VALIDATE FAILED after ST VALIDATE SUCESS

2020-01-07 Thread Ray Bon
Jérôme, How are tickets being stored? All CAS nodes need access to the tickets. In multi node architecture, request 1 goes to node 1, request 2 goes to node 2, etc (round robin load balancer). At the load balancer, log in is request 1, but ticket validation is request 2 (comes from client

Re: [cas-user] CAS and database

2020-01-07 Thread Ray Bon
Ibrahima, Take a look at https://dacurry-tns.github.io/deploying-apereo-cas/introduction_overview.html Ray On Tue, 2020-01-07 at 02:23 -0800, icoundoul wrote: Hello, I have clone this project https://github.com/casinthecloud/cas-pac4j-oauth-demo and it build sucessfully. So I would to know

Re: [cas-user] OIDC provider multi node ST VALIDATE FAILED after ST VALIDATE SUCESS

2020-01-07 Thread Jérôme Steve
Hi ray, Thanks for your reply. so you think the problem come from my OIDC client app ? or maybe from my load balancer and/or my proxy ? Becaus if i update cas servers configurtion to cas.ticket.st.numberOfUses=10 The ST is validate 10 times and after is FAILED (of course is the normal flow)

[cas-user] How to configure keycloak / CSRF exception

2020-01-07 Thread craab
I have set up CAS with LDAP, database authentication, but I am unable to set up keycloak correctly. >From the /login page, I am correctly redirected to my keycloak login page. I sign in and am redirected back to CAS, but get this exception:

[cas-user] CAS and database

2020-01-07 Thread icoundoul
Hello, I have clone this project https://github.com/casinthecloud/cas-pac4j-oauth-demo and it build sucessfully. So I would to know how to modify it for using my database for validating users credentials. Thanks. -- - Website: https://apereo.github.io/cas - Gitter Chatroom: