Repository navigation
feat(api): accept Bearer API tokens on GET /api/identities - #228
Merged
Merged
Appwrite / Hansi
succeeded
Nov 23, 2026 in 39s
Tier S: Ready to merge
The Bearer path preserves the existing token validation and failure limiting, and the identity handler applies the same visibility rules to token and session callers.
Adds a shared Caller extractor that authenticates requests with Bearer API tokens or falls back to dashboard sessions, then composes the admin check for directory writes. GET /api/identities now accepts either credential and keeps the existing role-based redaction behavior; the README and identity-list test are updated accordingly.
Loading