remove AUTH_URL since it unused and (likely) unnecessary

This commit is contained in:
bkellam 2025-03-27 16:42:36 -07:00
parent c2a129adb7
commit 1f4a5aed22
3 changed files with 0 additions and 7 deletions

View file

@ -16,7 +16,6 @@ SRC_TENANT_ENFORCEMENT_MODE=strict
# openssl rand -base64 33 # openssl rand -base64 33
# @see: https://authjs.dev/getting-started/deployment#auth_secret # @see: https://authjs.dev/getting-started/deployment#auth_secret
AUTH_SECRET="00000000000000000000000000000000000000000000" AUTH_SECRET="00000000000000000000000000000000000000000000"
AUTH_URL="http://localhost:3000"
# AUTH_CREDENTIALS_LOGIN_ENABLED=true # AUTH_CREDENTIALS_LOGIN_ENABLED=true
# AUTH_GITHUB_CLIENT_ID="" # AUTH_GITHUB_CLIENT_ID=""
# AUTH_GITHUB_CLIENT_SECRET="" # AUTH_GITHUB_CLIENT_SECRET=""

View file

@ -74,11 +74,6 @@ if [ -z "$AUTH_SECRET" ]; then
set +a set +a
fi fi
if [ -z "$AUTH_URL" ]; then
echo -e "\e[33m[Warning] AUTH_URL is not set.\e[0m"
export AUTH_URL="http://localhost:3000"
fi
# In order to detect if this is the first run, we create a `.installed` file in # In order to detect if this is the first run, we create a `.installed` file in
# the cache directory. # the cache directory.
FIRST_RUN_FILE="$DATA_CACHE_DIR/.installedv2" FIRST_RUN_FILE="$DATA_CACHE_DIR/.installedv2"

View file

@ -24,7 +24,6 @@ export const env = createEnv({
AUTH_GITHUB_CLIENT_SECRET: z.string().optional(), AUTH_GITHUB_CLIENT_SECRET: z.string().optional(),
AUTH_GOOGLE_CLIENT_ID: z.string().optional(), AUTH_GOOGLE_CLIENT_ID: z.string().optional(),
AUTH_GOOGLE_CLIENT_SECRET: z.string().optional(), AUTH_GOOGLE_CLIENT_SECRET: z.string().optional(),
AUTH_URL: z.string().url(),
AUTH_CREDENTIALS_LOGIN_ENABLED: booleanSchema.default('true'), AUTH_CREDENTIALS_LOGIN_ENABLED: booleanSchema.default('true'),
// Email // Email