update cookie settings
This commit is contained in:
@@ -18,6 +18,7 @@ export async function oauth(fastify: FastifyInstance) {
|
||||
"https://login.microsoftonline.com/common/v2.0/.well-known/openid-configuration",
|
||||
},
|
||||
cookie: {
|
||||
secure: true,
|
||||
sameSite: "none",
|
||||
},
|
||||
} as FastifyOAuth2Options);
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { FastifyError, FastifyReply, FastifyRequest } from "fastify";
|
||||
import { FastifyReply, FastifyRequest } from "fastify";
|
||||
import mongoose from "mongoose";
|
||||
|
||||
export function errorHandler(
|
||||
|
||||
Reference in New Issue
Block a user