# Mock SAML from BoxyHQ [![Deploy](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy) [![Deploy with Vercel](https://vercel.com/button)]() Mock SAML is a free SAML 2.0 Identity Provider for testing SAML SSO integrations. Try [Mock SAML](https://mocksaml.com/), our free hosted service. ## Source code visualizer [CodeSee codebase visualizer](https://app.codesee.io/maps/public/893e0610-9bfc-11ec-980d-9f320f34189e) ## Install ### With Docker The docker container can be found at [boxyhq/mock-saml](https://hub.docker.com/r/boxyhq/mock-saml). ```bash docker run \ -p 4000:4000 \ -e APP_URL="http://localhost:4000" \ -e ENTITY_ID="https://saml.example.com/entityid" \ -e PUBLIC_KEY="" \ -e PRIVATE_KEY="" \ -d boxyhq/mock-saml ``` Replace `` with Base64 encoded value of public key. Replace `` with Base64 encoded value of private key. ### Without Docker ``` git clone https://github.com/boxyhq/mock-saml.git ``` ``` cd mock-saml ``` Install dependencies ``` npm install ``` Update `.env` with your own keys. ``` cp .env.example .env ``` Build the Next.js app. ``` npm run build ``` Run the Mock SAML server. ``` npm run start ```