signInStatus: signInStatus()

in server/oauth.ts [408:418]


		signInStatus: signInStatus(idToken, guUCookie, maxAge),
		userId: result.success ? result.data.legacy_identity_id : undefined,
		displayName: result.success ? result.data.name : undefined,
		email: result.success ? result.data.email : undefined,
	});
};

// Sanitize the return path to prevent open redirects.
// Allows relative paths starting with '/' and strips trailing slashes and query params.
export const sanitizeReturnPath = (returnPath: string) => {
	try {