auth
All checks were successful
Build Org Backend / build (push) Successful in 12s

This commit is contained in:
2026-05-09 00:36:49 +01:00
parent c8937357e5
commit aa31cc37d9
7 changed files with 36 additions and 83 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.
Protected API routes require the shared API key from `ORG_BACKEND_API_KEY`.
Clients send it as:
Use `/api/auth/register` to create users and `/api/auth/login` to receive a JWT.
Protected API routes send that token as:
```text
X-Org-Api-Key: <key>
Authorization: Bearer <token>
```
The live systemd unit at `/etc/systemd/system/org-backend.service` is managed