flow iframe fixed

This commit is contained in:
Alma 2025-04-08 20:51:26 +02:00
parent f995df2beb
commit 2bf1bf0f03

View File

@ -1,7 +1,6 @@
import { getServerSession } from "next-auth/next"; import { getServerSession } from "next-auth/next";
import { authOptions } from "@/app/api/auth/[...nextauth]/route"; import { authOptions } from "@/app/api/auth/[...nextauth]/route";
import { redirect } from "next/navigation"; import { redirect } from "next/navigation";
import { FlowFrame } from "@/components/flow/flow-frame";
export default async function Page() { export default async function Page() {
const session = await getServerSession(authOptions); const session = await getServerSession(authOptions);
@ -10,5 +9,16 @@ export default async function Page() {
redirect("/signin"); redirect("/signin");
} }
return <FlowFrame />; return (
<main className="w-full min-h-screen bg-black">
<div className="w-full h-screen">
<iframe
src="https://agilite.slm-lab.net/oidc/login"
className="w-full h-full border-none"
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"
allowFullScreen
/>
</div>
</main>
);
} }