Re: [cas-user] Re: OAuth cannot validate service ticket?

2018-09-07 Thread Baron Fujimoto
Does anyone have suggestions or ideas on how we could troubleshoot this further? On Wed, Sep 05, 2018 at 05:10:10PM -1000, Baron Fujimoto wrote: >The service is defined as a cluster using hazelcast, but I had shut down the >other node prior to conducting these tests. Hazelcast still seems to deco

Re: [cas-user] Re: OAuth cannot validate service ticket?

2018-09-05 Thread Baron Fujimoto
The service is defined as a cluster using hazelcast, but I had shut down the other node prior to conducting these tests. Hazelcast still seems to decode tickets and whatnot in this degenerate cluster, but there's only a single node available. On Wed, Sep 05, 2018 at 03:53:29PM -0700, Travis Sch

Re: [cas-user] Re: OAuth cannot validate service ticket?

2018-09-05 Thread Andy Ng
Hi Baron, > ... shared session mechanism ... I agree with Travis, without shared session some function (e.g. OAuth, pac4j...) of CAS might not work properly. To verified that shared session might or might not be a problem, *try minimize your cluster to only a single node*, if that worked, then

Re: [cas-user] Re: OAuth cannot validate service ticket?

2018-09-05 Thread Travis Schmidt
If you are running in case servers in a cluster I think it is required to use some shared session mechanism between the nodes for the current OAuth implementation. This is due to the pac4j reliance on server side session store. This might cause your issue. On Wed, Sep 5, 2018, 1:23 PM Baron Fuji

Re: [cas-user] Re: OAuth cannot validate service ticket?

2018-09-05 Thread Baron Fujimoto
Here are the debug logs for the client's attempt. I've just redacted some of the potentially sensitive local info and hazelcast related entries. 2018-09-05 09:11:23,754 DEBUG [org.apereo.cas.support.oauth.DefaultOAuthCasClientRedirectActionBuilder] - http://cas.example.edu/cas/login?service=htt

Re: [cas-user] Re: OAuth cannot validate service ticket?

2018-09-05 Thread Baron Fujimoto
Happy to provide more debug logs. Since the logs at DEBUG level are so verbose I tried to excerpt what I thought would be relevant. Any suggestions on anything in particular? Unfortunately, while we have medium to longer term plans to upgrade to 5.3, upgrading from 5.0 is not an option in the s

[cas-user] Re: OAuth cannot validate service ticket?

2018-09-05 Thread Andy Ng
Hi Baron, Maybe some more debug logs will helps with debugging this issue? */cas/oauth2.0/callbackAuthorize* is an intermediate URL, usually no need to know about it. So that why the doc didn't specified it. Maybe you can try upgrading it to CAS 5.3 and see if the problem still exists. CAS OAu