Files
personotes/notes/documentation/authentication.md
2025-11-12 09:31:09 +01:00

46 lines
665 B
Markdown

---
title: Authentication Guide
date: 10-11-2025
last_modified: 11-11-2025:18:30
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
<a href="#" onclick="return false;" hx-get="/api/notes/test-delete-1.md" hx-target="#editor-container" hx-swap="innerHTML">Test Delete 1</a>