Currently, successful authorization puts the JSON payload into req.user. This is confusing for those who are not associating a user per say with the payload but maybe some other model naming convention of theirs. It would be a nice option to have an option that would specify the name in req object other than user, like account or signer, etc.
Currently, successful authorization puts the JSON payload into
req.user
. This is confusing for those who are not associating a user per say with the payload but maybe some other model naming convention of theirs. It would be a nice option to have an option that would specify the name inreq
object other thanuser
, likeaccount
orsigner
, etc.