16 lines
426 B
TypeScript
16 lines
426 B
TypeScript
import { fetchPrivateKey, fetchPublicKey } from 'utils';
|
|
|
|
const appUrl = process.env.APP_URL || `https://${process.env.VERCEL_PROJECT_PRODUCTION_URL}` || 'http://localhost:4000';
|
|
const entityId = process.env.ENTITY_ID || 'https://saml.example.com/entityid';
|
|
const privateKey = fetchPrivateKey();
|
|
const publicKey = fetchPublicKey();
|
|
|
|
const config = {
|
|
appUrl,
|
|
entityId,
|
|
privateKey,
|
|
publicKey,
|
|
};
|
|
|
|
export default config;
|