In nodeJS I am using the passport module for authentication. I would like to show the username of the currently logged in user.
I tried the following code:
This might help req.session.passport.user