How sunet/eduid-backend works
The repository is an eduID identity platform: web applications and APIs handle sign-in, account and group management, and identity proofing; shared user databases and workers support those flows. The tree and source index establish these major subsystems, but the README is empty and most implementation files were not sampled. Edges are limited to relationships visible in excerpts or source-index references; unsampled details are not inferred.
Main entry points: webapp Identity and proofing apps · api/app.py Web app base · __init__.py Configuration loader · scimapi/app.py SCIM API
Components 21
Identity applications
- Identity and proofing apps
src/eduid/webapp - Identity provider
src/eduid/webapp/idp - Proofing services
src/eduid/webapp/common/proofing - Support app
src/eduid/webapp/support/app.py - Group management
src/eduid/webapp/group_management/app.py
Service APIs
- SCIM API
src/eduid/scimapi/app.py - SCIM routes
src/eduid/scimapi/routers - MACC API
src/eduid/maccapi/app.py
Shared platform
- Web app base
src/eduid/webapp/common/api/app.py - Authentication middleware
src/eduid/webapp/common/authn/middleware.py - Configuration loader
src/eduid/common/config/parsers/__init__.py - Authentication utilities
src/eduid/webapp/common/authn/utils.py
Identity data
- User database
src/eduid/userdb/userdb.py - Proofing state
src/eduid/userdb/proofing/db.py - Proofing logs
src/eduid/userdb/logs/db.py
Async services
- Account sync relay
src/eduid/common/rpc/am_relay.py - Messaging relay
src/eduid/common/rpc/msg_relay.py - Account manager worker
src/eduid/workers/am - Messaging worker
src/eduid/workers/msg
Other components
- User
- External identity services
Connections 24
- User → Identity and proofing apps: uses
- Identity and proofing apps → Web app base: extends
src/eduid/webapp/support/app.py - Identity and proofing apps → Configuration loader: loads config
src/eduid/webapp/bankid/app.py - Web app base → Configuration loader: uses config
src/eduid/webapp/common/api/app.py - Web app base → User database: initializes
src/eduid/webapp/common/api/app.py - Web app base → Authentication middleware: supports auth
src/eduid/webapp/common/api/app.py - Authentication middleware → Authentication utilities: uses
src/eduid/webapp/common/authn/utils.py - Identity provider → Web app base: uses
src/eduid/webapp/idp/app.py - Identity provider → Authentication utilities: uses
src/eduid/webapp/idp/app.py - Proofing services → Proofing state: stores state
- Identity and proofing apps → Proofing state: uses state
src/eduid/webapp/bankid/app.py - Identity and proofing apps → Proofing logs: uses logs
src/eduid/webapp/bankid/app.py - Identity and proofing apps → Account sync relay: requests sync
src/eduid/webapp/bankid/app.py - Account sync relay → Account manager worker: dispatches tasks
src/eduid/common/rpc/am_relay.py - Identity and proofing apps → Messaging relay: requests data
src/eduid/webapp/bankid/app.py - Messaging relay → Messaging worker: dispatches tasks
src/eduid/common/rpc/msg_relay.py - SCIM API → Configuration loader: loads config
src/eduid/scimapi/app.py - SCIM API → SCIM routes: registers routes
src/eduid/scimapi/app.py - SCIM API → User: serves requests
- MACC API → Configuration loader: loads config
src/eduid/maccapi/app.py - Support app → Web app base: extends
src/eduid/webapp/support/app.py - Support app → User database: uses data
- Group management → User database: uses data
src/eduid/webapp/group_management/app.py - Identity and proofing apps → External identity services: integrates with