mocksaml/README.md

38 lines
405 B
Markdown
Raw Normal View History

2022-02-23 13:57:26 +00:00
# Mock SAML from BoxyHQ
2022-02-23 15:22:50 +00:00
2022-02-23 15:37:55 +00:00
Mock SAML is a SAML 2.0 IdP for development and testing the SAML SSO integration.
## Install
2022-02-23 15:22:50 +00:00
```
git clone https://github.com/boxyhq/mock-saml.git
```
```
cd mock-saml
```
2022-02-28 06:34:57 +00:00
Install dependencies
2022-02-23 15:22:50 +00:00
```
npm install
```
2022-02-28 06:34:57 +00:00
Update `.env` with your own keys.
2022-02-23 15:22:50 +00:00
```
cp .env.example .env
```
2022-02-28 06:34:57 +00:00
Build the Next.js app.
2022-02-23 15:22:50 +00:00
```
npm run build
```
2022-02-28 06:34:57 +00:00
Run the Mock SAML server.
2022-02-23 15:22:50 +00:00
```
npm run start
```