匿名/来宾用户的令牌共享

时间:2019-05-06 05:52:04

标签: authentication token access-token

我需要与encrypted token共享anonymous users,这样他们才能访问特定的路由,说product ids很少。

然后通过token与用户共享此email

因此,token可能包含array中的product-ids

我一直在寻找一种从这些数据生成令牌的机制。

但是似乎JWTPassport要求用户的credentials进行验证然后生成令牌。

如何在没有用户loginregistration的情况下将这些数据加密为令牌?

0 个答案:

没有答案