Sync key and payload ({ email, userId (_id of mongo mgt-student), profileId, role }, in VerifyToken from userId => find user in blog-service to get id => add id to req.user) => possible using an token when login for both mgt-student and blog-service but issue is when loss of token => data both service will loss of... Do we have any solution other way?
Sync key and payload ({ email, userId (_id of mongo mgt-student), profileId, role }, in VerifyToken from userId => find user in blog-service to get id => add id to req.user) => possible using an token when login for both mgt-student and blog-service but issue is when loss of token => data both service will loss of... Do we have any solution other way?