Implement verified public registration flow
All checks were successful
CI Smoke / host-smoke (push) Successful in 0s
CI Smoke / container-smoke (push) Successful in 1s

This commit is contained in:
tegwick 2026-08-10 11:26:18 +02:00
parent b7a57a50a4
commit c36a09bded
12 changed files with 610 additions and 7 deletions

View file

@ -384,6 +384,8 @@ class UserEngineService:
IdentityFactorType.EMAIL,
),
correlation_id: str | None = None,
applicant_username: str | None = None,
client_id: str | None = None,
) -> RegistrationSession:
tenant_context = self.resolve_tenant_context(actor, tenant)
correlation_id = correlation_id or new_id("corr")
@ -406,6 +408,8 @@ class UserEngineService:
),
required_factor_types=required,
started_by_subject=actor.subject,
applicant_username=applicant_username,
client_id=client_id,
correlation_id=correlation_id,
)
with self.store.transaction():