Browse Source

fix: customData

ryanemax 8 months ago
parent
commit
2083a7788a
1 changed files with 2 additions and 0 deletions
  1. 2 0
      server/cloud/authing/trigger-user-save.js

+ 2 - 0
server/cloud/authing/trigger-user-save.js

@@ -45,6 +45,8 @@ async function syncUserProfileToAuthing(user,profile){
     userInfo.userId = userInfo.objectId
     delete userInfo.objectId
     userInfo.identifyStatus = userInfo.accountState
+    // 自定义数据全量同步
+    userInfo.customData = userInfo
 
     console.log(userInfo)
     // 同步数据至Authing用户池