Closed mpmeyer closed 8 years ago
What I am seeing is that after login to my CAS server instead of redirecting back to my originating url, I get the response rendered into my browser.
The code after the recent bug fix: https://github.com/jsumners/hapi-cas/commit/6ae8d2e480c6ee2204cfc4f50863afbf395bf7fe#diff-18e559ebd3cc204a52bc1dc3db2adf8bL106
has the side effect of returning the response object and not actually performing the redirect.
And that issue is resolved with this change?
Yes, after the service validate, the redirect is now happening and is returning to my originating page.
Please change the destination branch for the merge to the develop
branch.
I believe the parenthesis in the return statement is in the wrong place, resulting in the return of the response object instead of performing the redirect.