Description
http://doc.crates.io/crates-io.html says:
Acquiring an API token
First thing’s first, you’ll need an account on crates.io to acquire an API token. To do so, visit the home page and log in via a GitHub account (required for now).
Any plans to change this? Not publishing on crates.io meanwhile…
Current status
The team consensus is summarized in this comment:
Yes there's no particular reason that we don't have anything other than GitHub yet beyond that no one's actually implemented it. It was always the intent to have a variety of login options, and then you could link multiple login varieties to the same account (e.g. you can log in via oauth from either Twitter or GitHub)
That is, we are in favor of adding additional login methods, and we do not need any further discussion or 👍🏻 s on this issue so it is locked.
But there are a number of hurdles to get there:
- crates.io usernames currently match the GitHub usernames, so if we allow a different provider we will need a way to avoid conflicts
- the current system for assigning teams as crate owners is unfortunately directly tied to GitHub teams
- from what I was told, GitHub is somewhat good at preventing spam accounts and other malicious activity, which we can't handle ourselves with the existing resources of the project
- the code and database are quite tied to the assumption that GitHub is the only login (the users table has column gh_login and gh_id for example), so significant refactorings need to take place to enable adding other services
The way forward is to find solutions for all of these, writing RFCs as neccessary to propose these solutions, then implementing the necessary changes.
If you are interested in helping with this work, please feel free to get started!