|
|
@ -41,6 +41,12 @@ const authjsConfig = {
|
|
|
|
trustHost: true,
|
|
|
|
trustHost: true,
|
|
|
|
// TODO: Replace secret {@see https://authjs.dev/reference/core#secret}
|
|
|
|
// TODO: Replace secret {@see https://authjs.dev/reference/core#secret}
|
|
|
|
secret: "buginoo",
|
|
|
|
secret: "buginoo",
|
|
|
|
|
|
|
|
/** Needed to specify cookie name because for some reason in production it
|
|
|
|
|
|
|
|
* wasn't reading the correct cookie but in development it was. So we need to
|
|
|
|
|
|
|
|
* make sure both development and production are using the same cookie name.*/
|
|
|
|
|
|
|
|
cookies: {
|
|
|
|
|
|
|
|
state: { name: "__Secure-authjs.session-token" },
|
|
|
|
|
|
|
|
},
|
|
|
|
providers: [
|
|
|
|
providers: [
|
|
|
|
// TODO: Choose and implement providers
|
|
|
|
// TODO: Choose and implement providers
|
|
|
|
// CredentialsProvider({
|
|
|
|
// CredentialsProvider({
|
|
|
|