Spaces:
				
			
			
	
			
			
		Sleeping
		
	
	
	
			
			
	
	
	
	
		
		
		Sleeping
		
	File size: 711 Bytes
			
			| 13ae717 0e9db31 189ab98 13ae717 189ab98 13ae717 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 | 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 (
    <div className="p-4">
      <div className="border bg-red-500/10 border-red-500/20 text-red-500 px-5 py-3 rounded-lg">
        <h1 className="text-xl font-bold">Error</h1>
        <p className="text-sm">
          An error occurred while trying to log in. Please try again later.
        </p>
      </div>
    </div>
  );
}
 | 
 
			
