Skip to content

Evaluate registration and login as anonymous-then-authenticated flows#23

Merged
bartes merged 1 commit into
mainfrom
login-filter-then-risk
Jun 9, 2026
Merged

Evaluate registration and login as anonymous-then-authenticated flows#23
bartes merged 1 commit into
mainfrom
login-filter-then-risk

Conversation

@bartes

@bartes bartes commented Jun 9, 2026

Copy link
Copy Markdown
Contributor

Filters the registration attempt before the account is created ($registration/$attempted) and blocks the sign-up on a deny verdict. An invalid attempt (e.g. an email already taken) is reported to the Filter API as $failed, resolving any existing user via matching_user_id.

Filters the login attempt ($login/$attempted) while the visitor is still anonymous, before credentials are checked, then risk-assesses a successful login ($succeeded) reusing the same request token. A failed login is sent to the Filter API as $failed (with matching_user_id when the email matches an existing user).

Filter the registration attempt before the account is created
($registration / $attempted), and report an invalid attempt as $failed,
resolving any existing user via matching_user_id. Filter the login attempt
($login / $attempted) before checking credentials, then risk-assess a
successful login ($succeeded) on the same request token, sending a failed
login to the filter endpoint ($failed).
@bartes bartes merged commit 66a91e4 into main Jun 9, 2026
1 check passed
@bartes bartes deleted the login-filter-then-risk branch June 10, 2026 15:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant