Secure api endpoints
- Dominant language
- JavaScript
- Stars
- 1.8k
- Forks
- 776
- PR merge metrics
- No merged PRs in 30d
Description
### Why Is this Needed
[comment]: # (Describe the problem and why this task is needed. Provide description of the current state, what you would like to happen, and what actually happen)
*Summary*:
Some of the api (json) request on the api are not checking for csrftoken or `request.user.is_authenticated` making possible to fetch data from outside gitcoin.
### Description
[comment]: # (Feature or Bug? i.e Type: Bug)
*Type*:
### Current Behavior
[comment]: # (Describe what actually happened.)
Api exposed
### Expected Behavior
[comment]: # (Describe what you expected to happen.)
We have a right list of our public api and secure the endpoints with sensitive data
### Definition of Done
[comment]: # (Any other information that would be useful, bullets are helpful.)
- Create a list of public endpoints
- Secure the endpoints we don't want to expose
### Data Requirements
[comment]: # (How will we measure the success of this feature? What kind of tracking is needed for this feature (clicks, impressions, flag)?)
### Additional Information
[comment]: # (Any other information that would be useful, content, screenshots, etc.)
Contributor guide
Assessment
This issue has not been assessed yet.