Add Node auth routes for ACS login
This commit is contained in:
@@ -18,6 +18,9 @@ export const env = {
|
||||
sessionSecret: process.env.SESSION_SECRET ?? 'dev-only-change-me',
|
||||
publicBaseUrl: process.env.ACS_PUBLIC_BASE_URL ?? 'http://localhost:3000',
|
||||
smsProvider: process.env.ACS_SMS_PROVIDER ?? 'dev',
|
||||
cookieSecure:
|
||||
(process.env.ACS_COOKIE_SECURE ?? '').toLowerCase() === 'true' ||
|
||||
(process.env.ACS_PUBLIC_BASE_URL ?? '').startsWith('https://'),
|
||||
};
|
||||
|
||||
export function requireDatabaseUrl(): string {
|
||||
|
||||
Reference in New Issue
Block a user