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

Adding API Key to access some Apis #34

Open
mazipan opened this issue Oct 11, 2023 · 2 comments · May be fixed by #132
Open

Adding API Key to access some Apis #34

mazipan opened this issue Oct 11, 2023 · 2 comments · May be fixed by #132
Assignees
Labels
enhancement New feature or request

Comments

@mazipan
Copy link
Owner

mazipan commented Oct 11, 2023

Is your feature request related to a problem? Please describe.
Additional layer to avoid people abuse the API outside the application

Describe the solution you'd like

  • Add new env API_KEY
  • Passing the key in the header request
  • Read the key, make sure it's match with our env value
  • I can rotate the value when abuse happens, ideally it happened in the runtime, but if it's hard then we can trigger deployment

Describe alternatives you've considered
Adding a static IP blocklist

@mazipan mazipan added the enhancement New feature or request label Oct 11, 2023
@mazipan mazipan self-assigned this Oct 11, 2023
@aldy505
Copy link

aldy505 commented Oct 11, 2023

Ini deployed on vercel kan? Harusnya bisa implement static IP blocklist untuk certain endpoint dari dashboard Vercel.

@mazipan
Copy link
Owner Author

mazipan commented Oct 13, 2023

Harus mbayar fitur block IP nya 🙈

@madjiebimaa madjiebimaa linked a pull request Oct 24, 2023 that will close this issue
4 tasks
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
None yet
Development

Successfully merging a pull request may close this issue.

2 participants