Summary
Record part of hCaptcha API response data to the Wikimedia Event Platform during account creation
Background
- hCaptcha response data risk signal should be stored in the user's global session
- The normed risk signal can be retrieved in extensions/Campaigns/includes/CampaignsSecondaryAuthenticationProvider.php and included in in ServerSideAccountCreation event data.
- the ServerSideAccountCreation event must opt out of sending IP and user-agent data.
User story
As staff, I want to send hCaptcha response data to the Event Platform during account creation to support analytics, while excluding IP and user-agent from this event stream.
Acceptance criteria
- hCaptcha risk signal stored in global session
- risk signal included in ServerSideAccountCreation event
Related ticket: T377341: hCaptcha: Log results returned from backend API