A simple mock SAML 2.0 Identity Provider
Go to file
Aswin V 57b8ddf17c
Optimise multi platform build (#128)
* 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
2022-12-09 15:04:40 +00:00
.github don't really need arm v8 2022-12-08 16:04:58 +00:00
.vscode added Google Tag Manager 2022-03-01 00:50:36 +00:00
components Bump next from 12.3.1 to 13.0.2 (#101) 2022-11-08 09:03:16 +05:30
lib Validate AuthnRequest signature (#11) 2022-03-02 21:06:04 +00:00
pages Bump next from 12.3.1 to 13.0.2 (#101) 2022-11-08 09:03:16 +05:30
public updated logo 2022-05-22 19:57:08 +01:00
styles Download metadata url (#91) 2022-10-25 17:38:56 +01:00
types Cleanup 2022-02-18 09:37:27 +05:30
utils added prefixes to idp metadata file (#104) 2022-11-14 09:55:39 +00:00
.dockerignore Optimise multi platform build (#128) 2022-12-09 15:04:40 +00:00
.env.example fixed build when NEXT_PUBLIC_GTM_ID is not defined 2022-03-01 13:31:28 +00:00
.eslintrc.json Initial commit from Create Next App 2022-01-08 20:41:13 +05:30
.gitignore Redesigned the UIs with daisyui (#23) 2022-07-26 22:28:46 +01:00
.prettierrc.js Add prettier config and format files 2022-02-22 11:06:06 +05:30
app.json text tweaks 2022-03-02 20:53:00 +00:00
Dockerfile Optimise multi platform build (#128) 2022-12-09 15:04:40 +00:00
LICENSE added license file 2022-02-23 17:16:41 +00:00
next-env.d.ts Initial commit from Create Next App 2022-01-08 20:41:13 +05:30
next.config.js Optimise multi platform build (#128) 2022-12-09 15:04:40 +00:00
package-lock.json don't really need arm v8 2022-12-08 16:04:58 +00:00
package.json don't really need arm v8 2022-12-08 16:04:58 +00:00
postcss.config.js wip 2022-01-13 22:37:44 +05:30
Procfile Oneclick deploy button (#2) 2022-02-28 21:54:20 +00:00
README.md Add docker installation to README (#19) 2022-03-17 01:44:33 +00:00
tailwind.config.js Disable dark theme for now (#26) 2022-07-27 15:23:55 +05:30
tsconfig.json Support absolute imports 2022-02-18 12:16:58 +05:30

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