2022-10-18 20:34:32 +00:00
|
|
|
import { useRouter } from "next/router";
|
|
|
|
|
|
|
|
import { HOSTED_CAL_FEATURES } from "@calcom/lib/constants";
|
2022-11-23 02:55:25 +00:00
|
|
|
import { getSettingsLayout as getLayout } from "@calcom/ui";
|
2022-10-18 20:34:32 +00:00
|
|
|
|
|
|
|
import SAMLConfiguration from "../components/SAMLConfiguration";
|
|
|
|
|
|
|
|
const SAMLSSO = () => {
|
|
|
|
const router = useRouter();
|
|
|
|
|
|
|
|
if (HOSTED_CAL_FEATURES) {
|
|
|
|
router.push("/404");
|
|
|
|
}
|
|
|
|
|
|
|
|
const teamId = null;
|
|
|
|
|
|
|
|
return <SAMLConfiguration teamId={teamId} />;
|
|
|
|
};
|
|
|
|
|
|
|
|
SAMLSSO.getLayout = getLayout;
|
|
|
|
|
|
|
|
export default SAMLSSO;
|