Merge commit '25948cf033f213cf90cb19f261a63eca8504b46d'

This commit is contained in:
2024-01-15 14:05:00 +01:00
2 changed files with 62 additions and 9 deletions

View File

@@ -38,6 +38,7 @@ const authConfig: NextAuthConfig = {
}),
],
secret: process.env.AUTH_SECRET,
trustHost: true, // needs to be set to false for the NextJS to work behing Traefik
session: {
// Use JSON Web Tokens for session instead of database sessions.
// This option can be used with or without a database for users/accounts.