mocksaml/README.md
2022-03-17 01:44:33 +00:00

1.7 KiB

Mock SAML from BoxyHQ

Deploy Deploy with Vercel

Mock SAML is a free SAML 2.0 Identity Provider for testing SAML SSO integrations.

Try Mock SAML, our free hosted service.

Source code visualizer

CodeSee codebase visualizer

Install

With Docker

The docker container can be found at boxyhq/mock-saml.

docker run \
  -p 4000:4000 \
  -e APP_URL="http://localhost:4000" \
  -e ENTITY_ID="https://saml.example.com/entityid" \
  -e PUBLIC_KEY="<PUBLIC_KEY>" \
  -e PRIVATE_KEY="<PRIVATE_KEY>" \
  -d boxyhq/mock-saml

Replace <PUBLIC_KEY> with Base64 encoded value of public key. Replace <PRIVATE_KEY> 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