-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy path.env.example
More file actions
41 lines (35 loc) · 1.9 KB
/
.env.example
File metadata and controls
41 lines (35 loc) · 1.9 KB
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# =============================================================================
# Better Auth Configuration
# =============================================================================
# Better Auth handles user authentication via OAuth against Ministry Platform.
# Docs: https://www.better-auth.com/docs
#
# OIDC_CLIENT_ID / SECRET and MINISTRY_PLATFORM_CLIENT_ID / SECRET can be the
# same value. If they are set differently, it allows a unique client_id and
# client_secret for each provider. The OIDC client_id and client_secret are
# used for user login and best practice is re-use the same one as Widgets for
# congregant-facing applications.
OIDC_CLIENT_ID=TM.Widgets
OIDC_CLIENT_SECRET=
# Secret used by Better Auth for signing session cookies and tokens.
# Must be at least 32 characters with high entropy.
# Generate one with: openssl rand -base64 32
# Fallback: NEXTAUTH_SECRET (for migrating from NextAuth)
BETTER_AUTH_SECRET=
# Base URL of this application (used for OAuth callback URLs, etc.)
# Update to match your production environment.
# Fallback: NEXTAUTH_URL (for migrating from NextAuth)
BETTER_AUTH_URL=http://localhost:3000
# =============================================================================
# MinistryPlatform API Configuration
# =============================================================================
# This API Client / Secret will be used for server-side data access and will be
# the user for audit log data when no userId is provided.
MINISTRY_PLATFORM_CLIENT_ID=MPNext
MINISTRY_PLATFORM_CLIENT_SECRET=
MINISTRY_PLATFORM_BASE_URL=https://mpi.ministryplatform.com/ministryplatformapi
# =============================================================================
# NEXT Public Keys
# =============================================================================
NEXT_PUBLIC_MINISTRY_PLATFORM_FILE_URL=https://mpi.ministryplatform.com/ministryplatformapi/files
NEXT_PUBLIC_APP_NAME=MPNextApp