-
Notifications
You must be signed in to change notification settings - Fork 24
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
refactor: enforce single OAuth2 account binding per platform #59
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/approve
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: JohnNiang The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
我启用了 gitlab 的 oauth2, 第一个系统用户绑定 gitlab正常, 这个是不是有点问题,按现在这样设计,gitlab,github,gitee,三个都启用起来,一共也只能绑定三个用户。 |
这里确实有问题,需要根据 registrationId 和 halo 用户名检查绑定,感谢提出此问题,之前遗漏了没测出来 |
What this PR does?
限制每个平台的 OAuth2 帐户一次只能连接到一个用户帐户
/kind improvement