A simple mock SAML 2.0 Identity Provider
* Use next.js standalone to optimise docker image * Temporarily disable release branch check * Set `PORT` env * Use the build machine architecture to build and target platform for running * Prep for PR * Update node image * Test with latest image and use ARG for image version * Prep for PR |
||
|---|---|---|
| .github | ||
| .vscode | ||
| components | ||
| lib | ||
| pages | ||
| public | ||
| styles | ||
| types | ||
| utils | ||
| .dockerignore | ||
| .env.example | ||
| .eslintrc.json | ||
| .gitignore | ||
| .prettierrc.js | ||
| app.json | ||
| Dockerfile | ||
| LICENSE | ||
| next-env.d.ts | ||
| next.config.js | ||
| package-lock.json | ||
| package.json | ||
| postcss.config.js | ||
| Procfile | ||
| README.md | ||
| tailwind.config.js | ||
| tsconfig.json | ||
Mock SAML from BoxyHQ
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
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