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

Replace CORS with an API Key based approach #100

Open
waleedkadous opened this issue Dec 16, 2024 · 0 comments
Open

Replace CORS with an API Key based approach #100

waleedkadous opened this issue Dec 16, 2024 · 0 comments

Comments

@waleedkadous
Copy link
Collaborator

CORS is easy to hack and/or get around. We do have an API Key based approach, however, it's pretty clumsy: it's embedded as an env var. Instead we should move to a model where there are API Keys stored in the database. We don't need a graphical UI (though would be nice); we can create a command line tool for now like:

python add_api_key.py --key ... --desc " ..."

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

No branches or pull requests

1 participant