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

Enforce authentication on SensorsAfrica API endpoints - move to v2 #134

Open
1 task done
gideonmaina opened this issue Aug 15, 2024 · 2 comments
Open
1 task done
Assignees
Labels
enhancement New feature or request

Comments

@gideonmaina
Copy link
Collaborator

gideonmaina commented Aug 15, 2024

Key endpoints such as v1/data and v1/now should require authentication to prevent misuse by users and web crawlers.
api.sensors.africa/v2 endpoints have authentication intergrated, deploy and test the v2 api endpoints.

  • include permission class for authenticating: IsAuthenticated
@gideonmaina gideonmaina added the enhancement New feature or request label Aug 15, 2024
@gideonmaina gideonmaina self-assigned this Aug 15, 2024
@thepsalmist thepsalmist self-assigned this Oct 2, 2024
@thepsalmist thepsalmist changed the title Enforce authentication of v1 endpoints Enforce authentication on SensorsAfrica API endpoints - move to v2 Oct 2, 2024
@thepsalmist
Copy link
Contributor

Currently deployed on https://staging.api.sensors.africa/docs/ for testing

@thepsalmist thepsalmist moved this to 👀 In review | Staging in COMMONS Oct 2, 2024
@thepsalmist
Copy link
Contributor

@gideonmaina help me with the test of the api endpoints on https://staging.api.sensors.africa/v2/sensors/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: ✅ Done
Development

No branches or pull requests

2 participants