-
Notifications
You must be signed in to change notification settings - Fork 194
Description
The @cpan.org mail redirector is very unreliable, and unlikely to be improved. We should move away from using it.
Currently, logging in to a PAUSE account sends an email to their @cpan.org address with a confirmation link. We should find an alternative method.
The best option would be to use OAuth 2. This would require implementing it on PAUSE. PAUSE is now using Mojolicious for its web interface. It should be possible to implement this using Mojolicious::Plugin::OAuth2::Server. See also andk/pause#258
For reference, some other services have implemented PAUSE linking by directly accepting PAUSE login details, then internally testing a login using them. AFAIK this is the method rt.cpan.org uses. This is pretty terrible security though. You are asking people to provide login details to a third party. It substantially increases the sensitivity of the data you need to access. And it wouldn't work well with any changes or improvements PAUSE makes to its login flow.