confirmed that next dev --turbo breaks auth
This commit is contained in:
parent
279e0ad2d8
commit
8e02288d3d
5006
pnpm-lock.yaml
generated
5006
pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load Diff
@ -12,10 +12,7 @@ export const env = createEnv({
|
|||||||
.enum(["development", "test", "production"])
|
.enum(["development", "test", "production"])
|
||||||
.default("development"),
|
.default("development"),
|
||||||
API_KEY: z.string(),
|
API_KEY: z.string(),
|
||||||
AUTH_SECRET:
|
AUTH_SECRET: z.string(),
|
||||||
process.env.NODE_ENV === "production"
|
|
||||||
? z.string()
|
|
||||||
: z.string().optional(),
|
|
||||||
AUTH_MICROSOFT_ENTRA_ID_ID: z.string(),
|
AUTH_MICROSOFT_ENTRA_ID_ID: z.string(),
|
||||||
AUTH_MICROSOFT_ENTRA_ID_SECRET: z.string(),
|
AUTH_MICROSOFT_ENTRA_ID_SECRET: z.string(),
|
||||||
AUTH_MICROSOFT_ENTRA_ID_TENANT_ID: z.string(),
|
AUTH_MICROSOFT_ENTRA_ID_TENANT_ID: z.string(),
|
||||||
@ -38,7 +35,7 @@ export const env = createEnv({
|
|||||||
DATABASE_URL: process.env.DATABASE_URL,
|
DATABASE_URL: process.env.DATABASE_URL,
|
||||||
NODE_ENV: process.env.NODE_ENV,
|
NODE_ENV: process.env.NODE_ENV,
|
||||||
API_KEY: process.env.API_KEY,
|
API_KEY: process.env.API_KEY,
|
||||||
AUTH_SECRET: process.env.NEXTAUTH_SECRET,
|
AUTH_SECRET: process.env.AUTH_SECRET,
|
||||||
AUTH_MICROSOFT_ENTRA_ID_ID: process.env.AUTH_MICROSOFT_ENTRA_ID_ID,
|
AUTH_MICROSOFT_ENTRA_ID_ID: process.env.AUTH_MICROSOFT_ENTRA_ID_ID,
|
||||||
AUTH_MICROSOFT_ENTRA_ID_SECRET: process.env.AUTH_MICROSOFT_ENTRA_ID_SECRET,
|
AUTH_MICROSOFT_ENTRA_ID_SECRET: process.env.AUTH_MICROSOFT_ENTRA_ID_SECRET,
|
||||||
AUTH_MICROSOFT_ENTRA_ID_TENANT_ID: process.env.AUTH_MICROSOFT_ENTRA_ID_TENANT_ID,
|
AUTH_MICROSOFT_ENTRA_ID_TENANT_ID: process.env.AUTH_MICROSOFT_ENTRA_ID_TENANT_ID,
|
||||||
|
Loading…
Reference in New Issue
Block a user