- Add generic OIDCClient supporting RFC 8414 dynamic discovery and JWKS key retrieval - Implement RFC 7636 PKCE code_verifier generation and S256 code_challenge derivation - Implement transaction integrity rejecting invalid/missing state (HTTP 400) and mismatched nonce (HTTP 401) - Implement cryptographic ID token signature and claims verification against JWKS (HTTP 401) - Add comprehensive unit and live test suite in tests/test_oidc_client.py
29 lines
548 B
TOML
29 lines
548 B
TOML
[project]
|
|
name = "bdinvite"
|
|
version = "0.1.0"
|
|
description = "Birthday Invitation RSVP Backend"
|
|
requires-python = ">=3.11"
|
|
dependencies = [
|
|
"fastapi[standard]>=0.115.0",
|
|
"uvicorn>=0.30.0",
|
|
"sqlalchemy>=2.0.0",
|
|
"pydantic>=2.0.0",
|
|
"pydantic-settings>=2.0.0",
|
|
"pillow>=10.0.0",
|
|
"httpx>=0.27.0",
|
|
"pyjwt[crypto]>=2.15.1",
|
|
]
|
|
|
|
[dependency-groups]
|
|
dev = [
|
|
"httpx>=0.27.0",
|
|
"pytest>=8.0.0",
|
|
"pytest-asyncio>=0.23.0",
|
|
"pyright>=1.1.0",
|
|
]
|
|
|
|
[tool.pyright]
|
|
venvPath = "."
|
|
venv = ".venv"
|
|
include = ["app", "tests"]
|