in src/server/routes/register.ts [572:588]
void sendOphanComponentEventFromQueryParamsServer(
res.locals.queryParams.componentEventParams,
'CREATE_ACCOUNT',
'web',
res.locals.ophanConfig.consentUUID,
);
}
trackMetric('OktaIDXRegister::Success');
// redirect to the email sent page
return res.redirect(
303,
addQueryParamsToPath('/register/email-sent', res.locals.queryParams),
);
} catch (error) {
if (error instanceof OAuthError) {