test
This commit is contained in:
@@ -9,3 +9,5 @@ services:
|
|||||||
NODE_ENV: production
|
NODE_ENV: production
|
||||||
MONGODB_URI: ${MONGODB_URI:-mongodb://mongo:27017/dndextended}
|
MONGODB_URI: ${MONGODB_URI:-mongodb://mongo:27017/dndextended}
|
||||||
AUTH_SECRET: ${AUTH_SECRET}
|
AUTH_SECRET: ${AUTH_SECRET}
|
||||||
|
AUTH_URL: ${AUTH_URL}
|
||||||
|
AUTH_TRUST_HOST: ${AUTH_TRUST_HOST:-true}
|
||||||
@@ -4,6 +4,7 @@ import { compare } from "bcryptjs";
|
|||||||
import clientPromise from "./mongodb";
|
import clientPromise from "./mongodb";
|
||||||
|
|
||||||
export const { handlers, signIn, signOut, auth } = NextAuth({
|
export const { handlers, signIn, signOut, auth } = NextAuth({
|
||||||
|
trustHost: true,
|
||||||
providers: [
|
providers: [
|
||||||
Credentials({
|
Credentials({
|
||||||
credentials: {
|
credentials: {
|
||||||
|
|||||||
Reference in New Issue
Block a user