diff --git a/src/app/(oauth)/oauth/authorize/page.tsx b/src/app/(oauth)/oauth/authorize/page.tsx index b3cf9cf..00c54c1 100644 --- a/src/app/(oauth)/oauth/authorize/page.tsx +++ b/src/app/(oauth)/oauth/authorize/page.tsx @@ -3,6 +3,7 @@ import { redirect } from "next/navigation"; import { getClientByClientId } from "@/lib/dto/client"; import { getCurrentUser } from "@/lib/session"; import { Authorizing } from "@/components/auth/authorizing"; +import { ErrorCard } from "@/components/auth/error-card"; export interface AuthorizeParams { oauth: string; @@ -25,7 +26,43 @@ export default async function AuthorizePage({ if (!client) { return (