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

做有非当前登录 did 的 DID Connect 之后,其他的测试功能会异常 #190

Open
NateRobinson opened this issue Jul 12, 2022 · 3 comments
Assignees

Comments

@NateRobinson
Copy link
Contributor

NateRobinson commented Jul 12, 2022

截屏2022-07-12 15 50 11

比如做了 delegate 的测试用例之后,cookie 中记录的 connected_did 会被更改,这会导致再进行其他的用例会失败。

@NateRobinson NateRobinson changed the title 做有非当前登录 did 的 DID Connect 做有非当前登录 did 的 DID Connect 之后,其他的测试功能会异常 Jul 12, 2022
@NateRobinson
Copy link
Contributor Author

此时可以通过删掉 cookie 中的 connected_did 属性使功能恢复正常。

@NateRobinson
Copy link
Contributor Author

@wangshijun 这个应该需要请你看一下,我记得是 DID Connect 的一个改进优化引起的这个问题。

@wangshijun
Copy link
Contributor

可以考虑的改进方案:

  • 把 ux 里面的 session-manager 引过来,放到 playground,方便切换 did
  • 把前端允许都个钱包扫的 case,增加 forceConnected = false 属性就行了

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

No branches or pull requests

2 participants