import { redirect } from "next/navigation"; import { Metadata } from "next"; import { getAuth } from "@/app/actions/auth"; export const revalidate = 1; export const metadata: Metadata = { robots: "noindex, nofollow", }; export default async function Auth() { const loginRedirectUrl = await getAuth(); if (loginRedirectUrl) { redirect(loginRedirectUrl); } return (

Error

An error occurred while trying to log in. Please try again later.

); }