fix(docker): add credentials fields to auth provider, postgres service, expose port 5433, AUTH_URL/AUTH_TRUST_HOST in env example

This commit is contained in:
Chandler Copeland
2026-04-03 17:21:01 -06:00
parent 3da9610c6f
commit 07cfaf0511
4 changed files with 29 additions and 3 deletions

View File

@@ -16,6 +16,10 @@ export const { handlers, auth, signIn, signOut } = NextAuth({
...authConfig,
providers: [
Credentials({
credentials: {
email: { label: "Email", type: "email" },
password: { label: "Password", type: "password" },
},
async authorize(credentials) {
const parsed = loginSchema.safeParse(credentials);
if (!parsed.success) return null;