mocksaml/lib/env.ts

12 lines
287 B
TypeScript
Raw Normal View History

2022-02-22 06:00:14 +00:00
// import { fetchPrivateKey, fetchPublicKey } from "utils";
2022-02-18 04:07:27 +00:00
const appUrl = process.env.APP_URL || 'http://localhost:4000';
const entityId = process.env.ENTITY_ID || 'http://saml.example.com';
2022-02-21 05:52:12 +00:00
const ssoUrl = `${appUrl}/api/saml/sso`;
2022-02-17 06:57:50 +00:00
2022-02-18 04:07:27 +00:00
export default {
appUrl,
entityId,
ssoUrl,
2022-02-22 05:36:06 +00:00
};