import { GetStaticProps } from 'next'; import Link from 'next/link'; import React from 'react'; import config from '../lib/env'; import { IdPMetadata } from '../types'; import { fetchPublicKey } from '../utils'; export const getStaticProps: GetStaticProps = async () => { const metadata: IdPMetadata = { ssoUrl: config.ssoUrl, entityId: config.entityId, certificate: fetchPublicKey(), }; return { props: { metadata, }, }; }; const Home: React.FC<{ metadata: IdPMetadata }> = ({ metadata }) => { const { ssoUrl, entityId, certificate } = metadata; return (

Mock SAML Metadata

A mock SAML 2.0 Identity Provider for development and testing SAML SSO integrations.

Please do not use this in production.

Download Metadata
); }; export default Home;