Implement verified public registration flow
This commit is contained in:
parent
b7a57a50a4
commit
c36a09bded
12 changed files with 610 additions and 7 deletions
|
|
@ -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():
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue