Moving back to dev@ Finally managed to fixed this by adding following line before the redirection.
request.setAttribute(FrameworkConstants.RequestParams.FLOW_STATUS, AuthenticatorFlowStatus.INCOMPLETE); Thanks & Regards Danushka Fernando Senior Software Engineer WSO2 inc. http://wso2.com/ Mobile : +94716332729 On Fri, Mar 24, 2017 at 11:08 AM, Danushka Fernando <danush...@wso2.com> wrote: > Hi Nuwandi > Its not saml. I am using Oauth auth code flow grant type here. > > Thanks & Regards > Danushka Fernando > Senior Software Engineer > WSO2 inc. http://wso2.com/ > Mobile : +94716332729 <+94%2071%20633%202729> > > On Fri, Mar 24, 2017 at 10:56 AM, Nuwandi Wickramasinghe < > nuwan...@wso2.com> wrote: > >> Hi, >> >> Can you provide a SSO trace for the flow? >> >> Thanks >> Nuwandi >> >> On Fri, Mar 24, 2017 at 10:44 AM, Danushka Fernando <danush...@wso2.com> >> wrote: >> >>> Hi All >>> I wrote a postAuthenticationHandler to handle custom password expiry >>> requirement. It redirects to following endpoint when handling request. But >>> this redirect go back to authorize endpoint in the middle and getting >>> crashed. But if I redirect to the endpoint manually it will work as >>> expected. Any idea whats going wrong here. >>> >>> [1] /authenticationendpoint/password_expiry.do?passwordexpir >>> yremainingtimeinmillis=252811377&ispasswordexpired=true& >>> sessionDataKey=5538f5b1-2a50-43c8-a380-b2a3a90c7d27 >>> >>> Thanks & Regards >>> Danushka Fernando >>> Senior Software Engineer >>> WSO2 inc. http://wso2.com/ >>> Mobile : +94716332729 <+94%2071%20633%202729> >>> >> >> >> >> -- >> >> Best Regards, >> >> Nuwandi Wickramasinghe >> >> Software Engineer >> >> WSO2 Inc. >> >> Web : http://wso2.com >> >> Mobile : 0719214873 >> > >
_______________________________________________ Dev mailing list Dev@wso2.org http://wso2.org/cgi-bin/mailman/listinfo/dev