May have fixed authentik idk

This commit is contained in:
Gabriel Brown 2025-01-16 06:37:22 -06:00
parent 5295d06686
commit 902eee260b
2 changed files with 1 additions and 8 deletions

View File

@ -15,11 +15,4 @@ export const { handlers, auth, signIn, signOut } = NextAuth({
issuer: process.env.AUTH_AUTHENTIK_ISSUER,
}),
],
debug: true,
callbacks: {
async signIn({ user, account, profile, email, credentials }) {
console.log('signIn', { user, account, profile, email, credentials });
return true;
},
},
});

View File

@ -12,7 +12,7 @@ export const env = createEnv({
.enum(['development', 'test', 'production'])
.default('development'),
API_KEY: z.string(),
AUTH_TRUST_HOST: z.boolean().default(true),
AUTH_TRUST_HOST: z.coerce.boolean().default(true),
AUTH_SECRET: z.string(),
AUTH_MICROSOFT_ENTRA_ID_ID: z.string(),
AUTH_MICROSOFT_ENTRA_ID_SECRET: z.string(),