gitarena
gitarena copied to clipboard
Allow additional login methods (SSO)
Probably allow login with the biggest VCS websites:
- [x] GitHub
- [x] GitLab
- [x] BitBucket
and maybe popular web services such as:
TODO on the implementation details:
- Save avatars
- Save SSH and GPG keys
- Verify CSRF tokens
Further investigation into this reveals that the protocol which should be used for this is called OpenID Connect. There are various crates which exist for this purpose, the most popular being openidconnect.
References for services:
GitHub has been implemented in 1f07ded. It is currently not visible on the login/register template but is already accessible via /sso/github
.
GitLab has been implemented in 95febcb. It is currently also not visible but still accessible via /sso/gitlab
.
BitBucket has been implemented in 47a0f23.