hotosm/login
Centralized authentication across all HOT tools
What's novel
Centralized authentication across all HOT tools
Code Analysis
23 files read · 6 roundsCentralized SSO authentication service for HOTOSM applications that integrates Hanko (JWT/passkey auth) with OSM OAuth, providing user mapping, group/organization management, and framework-agnostic auth libraries for FastAPI, Django, and Litestar.
Strengths
Clean separation of core auth logic from framework adapters, well-documented code with proper type hints and docstrings, and a thoughtful multi-service architecture with real business logic for groups, invitations, and RBAC.
Weaknesses
Some architectural concerns like in-memory OAuth state (breaks multi-instance), hardcoded CORS domains, and global SSL state mutation in JWTValidator; the core auth is primarily integration/glue around Hanko and OSM OAuth rather than novel algorithms.
Score Breakdown
Signal breakdown
Innovation
Craft
Traction
Scope
Evidence
Commits
307
Contributors
5
Files
191
Active weeks
18
Repository
Language
Python
Stars
0
Forks
0
License
AGPL-3.0