Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

通过企业微信注册的用户,在下一次登陆时,原有的自定义数据被企业微信数据覆盖(如FirstName、Email等) #14

Open
clyce opened this issue Mar 29, 2024 · 2 comments
Labels
help wanted Extra attention is needed

Comments

@clyce
Copy link

clyce commented Mar 29, 2024

目前的复现流程如下:

  1. 新号通过扫码注册时,因为微信返回的 JSON 中不包含 biz_mail, email 字段,而 name 字段被映射为 lastName,导致 emailfirstName 缺失,需要重新填写确认。
  2. 填写确认后成功以新信息登入
  3. 登出,重新扫码登录,此时弹出页面如下:
    image

猜想是扫码后微信重新获取了用户数据,覆盖掉了原来在(2)中设置的账户信息,导致账户信息重新从合法的变成了非法的(缺少email和firstName字段),触发了强制更新。

@clyce clyce changed the title 通过微信注册的用户,在每一次登陆时,都被要求更新账户信息 通过企业微信注册的用户,在每一次登陆时,都被要求更新账户信息 Mar 29, 2024
@clyce
Copy link
Author

clyce commented Mar 29, 2024

确认是扫码之后编辑的用户数据被覆盖,此时管理员界面的用户数据为:
image

@clyce clyce changed the title 通过企业微信注册的用户,在每一次登陆时,都被要求更新账户信息 通过企业微信注册的用户,在下一次登陆时,原有的自定义数据被企业微信数据覆盖(如FirstName、Email等) Mar 29, 2024
@clyce
Copy link
Author

clyce commented Mar 29, 2024

对应的配置,sync mode确实是 import 而非 force
image

@Jeff-Tian Jeff-Tian added the help wanted Extra attention is needed label Mar 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants