feat(auth): migrate to Keycloak metadata auth

This commit is contained in:
2026-06-12 10:18:41 +08:00
parent 2a762e63a7
commit 23c008f602
27 changed files with 178 additions and 1712 deletions
+3 -3
View File
@@ -22,14 +22,14 @@ def test_create_log_adds_commits_and_refreshes(monkeypatch):
result = asyncio.run(
repo.create_log(
action="LOGIN",
action="CREATE_PROJECT",
request_method="POST",
request_path="/auth/login",
request_path="/api/v1/projects",
response_status=200,
)
)
assert result.action == "LOGIN"
assert result.action == "CREATE_PROJECT"
assert result.request_method == "POST"
assert session.commit_count == 1
assert len(session.added) == 1