cpan-testers / cpantesters-web

A new CPAN Testers web application. The primary interface for CPAN Testers data
Other
7 stars 5 forks source link

Add OAuth2 authentication for Perl auth0 #13

Open preaction opened 6 years ago

preaction commented 6 years ago

We need some form of authentication before we can offer features like messaging and marking reports as invalid. The Perl NOC is moving away from Bitcard and towards auth0, which is an OAuth2 provider.

We need to add an OAuth2 consumer that allows users to log in using the auth0 provider. This should probably use Mojolicious::Plugin::OAuth2. Once we've set that up, we need to tell Robert what our OAuth2 callback URL is so they can enable us and give us our shared secret.

Once the user is authenticated, we need to create a user account to store user information locally. This information will include:

To log in or register for CPAN Testers, users should click a button to begin the OAuth2 process. Once they've been authenticated, we should verify that they have filled out their display name. Then we should prompt them to verify their PAUSE or tester e-mail addresses (the procedures for these are in future tickets).