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

考虑支持自动创建账号并绑定 #77

Open
ruibaby opened this issue Dec 8, 2024 · 0 comments
Open

考虑支持自动创建账号并绑定 #77

ruibaby opened this issue Dec 8, 2024 · 0 comments

Comments

@ruibaby
Copy link
Member

ruibaby commented Dec 8, 2024

目前使用 OAuth 登录之后需要绑定用户或者注册并绑定,这会比较繁琐。个人认为 OAuth 应该首要保证快捷,所以建议提供开启自动创建账号的选项,支持用户使用 OAuth 授权之后无需再注册账号。但可能需要考虑几个问题:

  1. 用户名,来源建议是 OAuth Server 提供的用户名,比如 GitHub username,但需要考虑命名规则是否有差异。
  2. 密码,自动创建账号如果不设置密码,那么后续可能无法修改密码(修改密码需要旧密码验证),个人建议通过 OAuth 注册之后可以跳转到完善密码的页面。
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

1 participant