Skip to content

Integrate API-key auth middleware #10

@gorkem-bwl

Description

@gorkem-bwl

Build an Express middleware that checks incoming requests for a valid LangRoute API key, rejects unauthorized calls.

  • Middleware reads Authorization: Bearer header
  • Validates against Postgres table api_keys
  • Returns 401 if missing or invalid
  • Applied globally to the chat route

Metadata

Metadata

Assignees

Labels

✨ New FeatureProposal or work to add a new feature.🛠 BackendBackend related issue.🧩 CoreChanges to core system architecture or critical modules.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions