mocksaml/lib/env.ts

12 lines
260 B
TypeScript
Raw Normal View History

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