-
Notifications
You must be signed in to change notification settings - Fork 77
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Getting error Cannot read property 'authenticationfailure' of undefined #10
Comments
Same problem :
I've made a console log of the result object and I've got :
so, obviously no result.serviceresponse.authenticationfailure... I suspect an parse error form index.js Line 67. but can't resolve it. |
I'm doing a rewrite of this module (with no API-breaking changes) and I'm going to validate the structure of the CAS server's response. All this will do it provide a more useful error message, though. If the CAS server in the test cases was operating correctly and on the correct version, then this might be a problem with slashes. I'll be properly building and checking my request URLs in the new version. |
Hi,
After successfully login to cas and redirect back, getting below error again and again while accessing api.
[2] [TypeError: Cannot read property 'authenticationfailure' of undefined]
[2] [Error: CAS authentication failed.]
My service is pointing to localhost.
Is there a way to debug ?
The text was updated successfully, but these errors were encountered: