-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.env.template
26 lines (22 loc) · 1.25 KB
/
.env.template
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# =======================
# Copy this file into .env and complete it for local development
# For production, ensure to set appropriate variables with repository secrets or injection
# =======================
# Replace "user", "pass" and "ugadmissions" with the username, password and database name respectively
DATABASE_URL="postgresql://user:pass@localhost:5432/ugadmissions"
# Microsoft Entra:
# The Application (client) ID, available on Overview
AUTH_MICROSOFT_ENTRA_ID_ID=
# The Directory (tenant) ID, available on Overview and inserted between .com/ and /v2.0
AUTH_MICROSOFT_ENTRA_ID_ISSUER="https://login.microsoftonline.com/{tenant_id}/v2.0"
# The Client Secret value, available on Certificates & Secrets
AUTH_MICROSOFT_ENTRA_ID_SECRET=
# NextAuth / Auth.js:
# AUTH_URL="http://localhost:3000" (for local)
AUTH_URL="https://ug-admissions.impaas.uk/"
# Truthy Boolean, delete for local
AUTH_TRUST_HOST="https://ug-admissions.impaas.uk/"
AUTH_SECRET= # Add with `npx auth`. Read more: https://cli.authjs.dev
# Comma-separated list of admins. These users have admin access for all admissions cycles
# NOTE: MUST be the full Imperial email in the below format