[cas-user] Re: lose service parameter when incorrect credential entered

2019-02-06 Thread Colin Wilkinson
Hi Yan, As Ray correct pointed out the XML webflow defined is a basic starting point, if search through the you find alot of class extending Cas*Webflow*Configurer this include the DefaultLoginWebflowConfigurer. During our upgrade from I noticed the same issue that at times the service parame

[cas-user] Re: lose service parameter when incorrect credential entered

2019-02-07 Thread Yan Zhou
Hi, thanks for the help, I have not used the customized webflow class Ray provided, because I do not know how to yet. I was looking into this by comparing debug level logging. What I did is to compare the two projects, one is a simple cas5.3.x overlay and the other is mine (after removing a

Re: [cas-user] Re: lose service parameter when incorrect credential entered

2019-02-07 Thread Ray Bon
Yan, In the preserved parameter log, checkForPswdResetToken exists between initializeLoginForm and viewLoginForm. It is missing in yours. Ray On Thu, 2019-02-07 at 12:04 -0800, Yan Zhou wrote: Hi, thanks for the help, I have not used the customized webflow class Ray provided, because I do not

Re: [cas-user] Re: lose service parameter when incorrect credential entered

2019-02-07 Thread Yan Zhou
Thanks for reading through such long logs. I appreciate it! I am getting closer. With the one missing service parameter, it is because when the login form submits, it is missing service parameter to begin with. CAS code confirmed the behavior. the FORM POST did not have service parameter to be

Re: [cas-user] Re: lose service parameter when incorrect credential entered

2019-02-07 Thread Ray Bon
Yan, Use your browser development tools to see if there is an unexpected redirect. If there is, that would be where the service param is lost. The service is part of the url and not a form variable. Ray On Thu, 2019-02-07 at 16:04 -0800, Yan Zhou wrote: Thanks for reading through such long logs

Re: [cas-user] Re: lose service parameter when incorrect credential entered

2019-02-08 Thread Yan Zhou
Thanks Ray for staying on this!! I finally figured this out. My Login page is loading some JS and CSS file. One of the JS does not exist, returning 404. That apparently caused the problem. Once I removed that non-existing JS, it works! Yan On Thursday, February 7, 2019 at 7:31:02 PM UTC-5, rb