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

Consistent API key authentication #35

Open
charvolant opened this issue Apr 24, 2015 · 0 comments
Open

Consistent API key authentication #35

charvolant opened this issue Apr 24, 2015 · 0 comments

Comments

@charvolant
Copy link
Contributor

The various controllers in the collectory have different authentication requirements. Some allow an API key and some only allow authentication via the auth user-password-cookie framework. It would be useful to allow API key authentication across all possible services, so that scripts can easily update things.

I'd like to suggest that all controllers allow the following:

  • Straight auth-based cookies, like what a real person uses
  • For POST/PUT methods, an "api_key" field in the provided JSON data
  • A cookie with ALA-API-Key=... for all methods (allows GETs to get in on the action without having to use a payload)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants