mocksaml/lib/env.ts
2022-02-22 11:32:03 +05:30

12 lines
287 B
TypeScript

// import { fetchPrivateKey, fetchPublicKey } from "utils";
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`;
export default {
appUrl,
entityId,
ssoUrl,
};