queryParams: getPersistableQueryParamsWithoutOktaParams()

in src/server/routes/register.ts [664:678]


			queryParams: getPersistableQueryParamsWithoutOktaParams(
				res.locals.queryParams,
			),
		});

		trackMetric('OktaRegistration::Success');

		return res.redirect(
			303,
			addQueryParamsToPath('/register/email-sent', res.locals.queryParams),
		);
	} catch (error) {
		logger.error('Okta Registration failure', error);

		const errorMessage = (): GatewayError => {