Skip to content

feat(api): accept Bearer API tokens on GET /api/identities - #228

Merged
ChiragAgg5k merged 1 commit into
mainfrom
feat/identities-bearer
Nov 23, 2026
Merged

ChiragAgg5k merged 1 commit into
mainfrom
feat/identities-bearer

feat(api): accept Bearer API tokens on GET /api/identities

7d005bd
Select commit
Loading
Failed to load commit list.
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.