Revert "auth"

This reverts commit aa31cc37d9.
This commit is contained in:
2026-05-09 01:19:43 +01:00
parent aa31cc37d9
commit 6dac9e7cc1
7 changed files with 83 additions and 36 deletions

View File

@@ -31,11 +31,11 @@ Create that file once on the server with the production values required by the
app. The Gitea deploy step verifies that it exists, but it does not create or
overwrite it.
Use `/api/auth/register` to create users and `/api/auth/login` to receive a JWT.
Protected API routes send that token as:
Protected API routes require the shared API key from `ORG_BACKEND_API_KEY`.
Clients send it as:
```text
Authorization: Bearer <token>
X-Org-Api-Key: <key>
```
The live systemd unit at `/etc/systemd/system/org-backend.service` is managed