- tc-auth: argon2id passwords, hashed opaque bearer tokens in auth_sessions
(migration 0002), anti-enumeration login errors, redacted token Debug
- tc-api: axum router with /healthz, /api/auth/login|logout, /api/user/me,
/api/team/{claws,credits,permissions}; Authed bearer extractor + RBAC
permission derivation; integration-tested over real TCP vs real Postgres
- teamclaw-server: config -> pool -> self-migrate -> serve
Co-Authored-By: Claude Fable 5 <[email protected]>
17 lines
380 B
JSON
17 lines
380 B
JSON
{
|
|
"db_name": "PostgreSQL",
|
|
"query": "INSERT INTO auth_sessions (token_hash, user_id, expires_at)\n VALUES ($1, $2, $3)",
|
|
"describe": {
|
|
"columns": [],
|
|
"parameters": {
|
|
"Left": [
|
|
"Text",
|
|
"Uuid",
|
|
"Timestamptz"
|
|
]
|
|
},
|
|
"nullable": []
|
|
},
|
|
"hash": "e04949b5ecf5e8085624656df4dc378163cb6a9354402dcfbf7add44e060acc8"
|
|
}
|