Files
core-api/pyproject.toml
T
Jeroen SchweitzerandClaude Opus 4.5 dd0997679f
Build and Push / release (push) Successful in 3s
Build and Push / build (push) Successful in 1m11s
fix: /auth/users/me now supports NPM forward auth headers
Added get_current_user_or_forward_auth() combined dependency that:
- First checks for X-authentik-* headers from NPM forward auth (web)
- Falls back to JWT Bearer token validation (mobile/native)

This fixes web authentication where browsers don't send Bearer tokens
but rely on NPM's forward auth proxy to pass user info via headers.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-04 00:24:41 +01:00

17 lines
334 B
TOML

[project]
name = "core-api"
version = "1.9.2"
description = "Core Code API - Infrastructure management and tools API"
readme = "README.md"
requires-python = ">=3.12"
license = {text = "MIT"}
[tool.setuptools]
packages = ["src"]
[tool.pytest.ini_options]
testpaths = ["tests"]
pythonpath = ["."]
asyncio_mode = "auto"
addopts = "-v"