-
Notifications
You must be signed in to change notification settings - Fork 250
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
Cannot read property secure of undefined #144
Comments
@awaterma august has ended. I also have this issue. |
I've created a unit test for this now, working on finding time to resolve the issue. |
Could you two try this with the master branch? I can't reproduce this: |
I ended up changing my whole authentication system from session auth to JWT auth because I couldn't make cookies and csrf work:D |
This is not a bug. You can't call a method that takes a callback without a callback. I wonder though, should we make this an API error? To clarify for users? |
@medelibero-sfdc -- let me know what you think, we can open another issue for error handling in async if we want to. I've got a unit test that proves this out -- that's the latest p/r. |
@awaterma I agree we should add in some extra error handling for this case so people get at least a more friendly exception. But I agree that this specific issue can be closed out and to create a new issue for the error handling bit. |
Let's discuss in our next meeting. I think we should do the same as NodeJS when callers execute async methods incorrectly; which may very well be nothing. Let's investigate and create a story for how we want things to be, and then prioritize. :) |
Sample cookie I am trying to parse is included. Any tips on parsing?
Code:
https://repl.it/repls/ProfitableUnfortunateFossil
The text was updated successfully, but these errors were encountered: