Closed ztsai closed 3 years ago
[x] when resolving user with appId and userId, aka backend user:
user
appId
userId
appUserId
appId_sha(userId)
id
[x] unit tests
[x] when resolving
user
withappId
anduserId
, aka backend user:appId
andappUserId
(could also query on id to beappId_sha(userId)
but there might be collision)id
beingappId_sha(userId)
[iii] and randomly generated name and avatar.[x] unit tests