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:Connect 设计实现思路 #68

Open
mave99a opened this issue Dec 26, 2022 · 3 comments
Open

兼容传统登陆方式的 DID:Connect 设计实现思路 #68

mave99a opened this issue Dec 26, 2022 · 3 comments

Comments

@mave99a
Copy link

mave99a commented Dec 26, 2022

几个基本需求:

  • did-connect 如果能和传统password,或者social login,或者类似email 给一个临时sign in code 等这些方法结合可以更为好用。 而且能让传统用户更能接受
  • did spaces 和钱包的恢复之间有鸡和蛋的关系,为了能让一个钱包从备份在did space 上的数据来初始化,必须让这个did spaces 不依赖于钱包就能获取数据,这时候就需要一个不经钱包的基本认证机制
    • 传统密码的did connect 可用—> did space可访问 —> did wallet可恢复数据 —> 需签名的did connect 可用
  • did spaces 和 did conenct 结合本身:
    • did space 需要 did connect 或某个登陆界面不需要钱包
    • 有了did spaces,did connect 可以把某些数据保存在did spaces里,从而具备了一定程度上脱离钱包的能力
  • did spaces可以和 web版did wallet形成某种合作
    • 传统密码的did connect可用 —> did spaces 可访问 —> did Wallet 可用 —> 需签名的did connect 可用

设计:

did connect 可以在钱包授权下,同意用户用传统的方式认证并完成不需要钱包(签名)的一些基本操作(如登陆)

@mave99a
Copy link
Author

mave99a commented Dec 26, 2022

这是一个可以onboard 亿万 web 2 用户来 web 3的重要设计。

@mave99a
Copy link
Author

mave99a commented Jan 25, 2023

@mave99a
Copy link
Author

mave99a commented Jan 25, 2023

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants