Financial API
Welcome to the Financial REST API.
Endpoints
- POST /api/register - Register a new user. Body: {"username": "...", "password": "..."}
- POST /api/login - Login and receive a JWT (RS256). Body: {"username": "...", "password": "..."}
- GET /.well-known/jwks.json - Public key in JWK format
- GET /api/profile - View your profile (requires Bearer token)
- GET /api/admin/flag - Admin-only endpoint (requires admin role)