export function sanitizeAuthRedirect(value: string | null | undefined): string | null {
if (!value) {
return null;
}
if (!value.startsWith("/")) {
if (value.startsWith("//")) {
return value;