Skip to content

Conversation

@jeffandersen
Copy link

The genesis of this is that my application uses http://passportjs.org for authentication, meaning my user's session does not live at req.session.user.

Rather than make a specific fallback for Passport, I introduced a handler which allows the developer to supply where on the request object the user data lives (in Passport's case, req.user).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant