added root tokens and endpoint for adding api keys (#742)

* added root tokens and endpoint for adding api keys

* Change down revision to current alembic head

* removed added_by_root_token

* refactored description

* fixed jinja errors

Co-authored-by: Andreas Köpf <andreas.koepf@provisio.com>
This commit is contained in:
Yannic Kilcher
2023-01-15 21:24:25 +00:00
committed by GitHub
co-authored by Andreas Köpf
parent e58ffd64fa
commit cc03376d86
8 changed files with 97 additions and 19 deletions
+1 -1
View File
@@ -29,7 +29,7 @@ environments:
variables:
# Note: this has to be a valid JSON list for Pydantic to parse it.
BACKEND_CORS_ORIGINS: '["https://web.staging.open-assistant.surfacedata.org"]'
DEBUG_ALLOW_ANY_API_KEY: True
DEBUG_ALLOW_DEBUG_API_KEY: True
DEBUG_SKIP_API_KEY_CHECK: True
MAX_WORKERS: 1