π Aetoskia Auth Server β Central Identity for the Aetos Platform
The Aetoskia Auth Server is the central identity service of the Aetos Platform ecosystem. It issues, validates, and introspects short-lived JWT access tokens against a single shared user store backed by MongoDB, so every service can trust one issuer instead of shipping its own auth logic.
Doc model: this wiki is written for humans β howβto guides, examples, and deployment recipes. The authoritative API contracts live in the code (GSDFC docstrings) and the interactive OpenAPI reference under
docs/api/.
π Key Features
- π Centralized identity β one user database, one issuer, one secret
- ποΈ Uniform token contract β every service verifies the same HS256 JWT
- π§© No auth code duplication β services delegate with
jwtlibor a generated OpenAPI dependency - β‘ Instant revocation surface β
/introspectgives services a liveactivecheck rather than trusting expiry alone - π Stateless logout β no server-side sessions; the client discards the token
β‘ Endpoints at a Glance
| Method | Path | Purpose |
|---|---|---|
| POST | /register |
Create a user account |
| POST | /login |
Authenticate and issue a JWT |
| GET | /me |
Current user (Bearer) |
| POST | /logout |
Stateless logout (Bearer) |
| POST | /introspect |
Service-to-service token verification |
| GET | /health |
Health check |
π Documentation Structure
| Section | What you'll find |
|---|---|
| Centralized Auth | The identity model and how the ecosystem trusts the server |
| How to Use | Register, login, and call endpoints with tokens |
| Platform Integration | How services authenticate requests |
| Deployment | Environment, Docker, and CI/CD |
| Development | Local setup, tests, and regenerating docs |
π Related Resources
- Source Code: Gitea Repository
- API Reference: interactive Swagger UI rendered from
docs/api/openapi.json - CI/CD: Drone pipeline ships tagged releases as
aetos/auth-serverimages
Β© Aetoskia Internal β auth-server 0.0.5