Skip to content
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

Add OAuth2 authentication for API #29

Open
preaction opened this issue Jun 18, 2018 · 0 comments
Open

Add OAuth2 authentication for API #29

preaction opened this issue Jun 18, 2018 · 0 comments

Comments

@preaction
Copy link
Member

preaction commented Jun 18, 2018

Once users can register accounts (cpan-testers/cpantesters-web#13), we need to allow them to authenticate to the API itself. Once they have authenticated to the API using the same OAuth2 account they authenticated to the CPAN Testers website, they get authorization to the PAUSE and tester accounts.

If OAuth2 is too difficult for API clients to implement, we could also provide token-based authentication (with a web UI for managing tokens).

The security mechanisms we implement must be added to the OAuth2 specification for documentation purposes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant