Skip to content

Commit

Permalink
DEAR-71: add trusted hosts
Browse files Browse the repository at this point in the history
  • Loading branch information
smuefsmuef committed Jul 22, 2024
1 parent 4018acd commit 5c6c832
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/auth.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ const pool = new Pool({

export const { handlers, signIn, signOut, auth } = NextAuth({
adapter: PostgresAdapter(pool),
trustHost: true,
session: { strategy: 'jwt' },
callbacks: {
jwt({ token, user }) {
Expand Down

0 comments on commit 5c6c832

Please sign in to comment.