export function openSsoLink(url: string, options?: { newTab?: boolean }) {
  const { newTab = true } = options || {};
  try {
    if (newTab) {
      window.open(url, "_blank", "noopener,noreferrer");
    } else {
      window.location.href = url;
    }
  } catch {
    // Silent no-op; callers already handle errors/logging
  }
}
