Files
personotes/notes/documentation/authentication.md

42 lines
522 B
Markdown

---
title: "Authentication Guide"
date: "10-11-2025"
last_modified: "10-11-2025:19:21"
tags: ["documentation", "api", "security"]
---
# Authentication
## Current Status
⚠️ No authentication currently implemented.
## Future Implementation
### JWT Tokens
```
POST /api/auth/login
{
"username": "user",
"password": "pass"
}
Response:
{
"token": "eyJhbGc..."
}
```
### Bearer Token
```
Authorization: Bearer eyJhbGc...
```
## Security
- HTTPS only in production
- Reverse proxy with nginx
- Rate limiting