I need to share a
encrypted token with
anonymous users that allows them to access a particular route and say, few
token is then shared with users via
token may contain an
array of those
I have been looking some mechanism to generate token from those data.
But seems like
Passport requires user's
credentials to validate and then generate tokens.
How can I encrypt these data into token without user