mocksaml/lib/env.ts
2022-02-22 11:35:21 +05:30

12 lines
250 B
TypeScript

const appUrl = process.env.APP_URL || 'http://localhost:4000';
const entityId = process.env.ENTITY_ID || 'http://saml.example.com';
const ssoUrl = `${appUrl}/api/saml/sso`;
const config = {
appUrl,
entityId,
ssoUrl,
};
export default config;