Skip to content
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

cookie authentication example fails with 1.0.0 #758

Closed
toddhickerson opened this issue Apr 12, 2013 · 0 comments
Closed

cookie authentication example fails with 1.0.0 #758

toddhickerson opened this issue Apr 12, 2013 · 0 comments
Assignees
Labels
bug Bug or defect documentation Non-code related changes
Milestone

Comments

@toddhickerson
Copy link

In trying to run the cookie.js example (https://github.com/spumko/hapi/blob/master/examples/cookie.js), it appears that it is failing with hapi 1.0.0 at line 48 (request.auth.session.set) with "Cannot call method 'set' of undefined". The request.auth has only these properties at that point:
{ isAuthenticated: false, credentials: null, artifacts: null }

Any help in resolving this would be appreciated so I can implement session authentication. Thank you.

@ghost ghost assigned hueniverse Apr 12, 2013
jmonster pushed a commit to jmonster/hapi that referenced this issue Feb 10, 2014
@Marsup Marsup added documentation Non-code related changes and removed example labels Sep 20, 2019
@lock lock bot locked as resolved and limited conversation to collaborators Mar 21, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Bug or defect documentation Non-code related changes
Projects
None yet
Development

No branches or pull requests

3 participants