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

处理java端用户体系和node逻辑保持一致 #367

Merged
merged 4 commits into from
Jul 27, 2024

Conversation

misTiger
Copy link

改动原因:

  1. java端接口注册的用户没法在node端登录
  2. jwt存储了用户password关键信息
  3. 方便java版本开发的同学做接口验证调试
    改动内容:
    1. 去除jwt存储password关键信息;token创建逻辑同node,jwt信息实现node和java互通
    2. 新增hash256方法,用户注册password加密逻辑同node,实现java端注册的账号登录和node版本互通

改动验证:
1. 调用java注册用户,在mian分支下node服务正常登录,且node服务注册的用户在java版本的登录接口正常登陆
2. node服务下的token在java端可以正常获取到用户信息

@sudoooooo sudoooooo merged commit db9735b into didi:feature/server-java Jul 27, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants