initial commit
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
export const cookieConfig = {
|
||||
httpOnly: true,
|
||||
secure: process.env.NODE_ENV == "production",
|
||||
sameSite: "lax" as const
|
||||
}
|
||||
|
||||
export const pkceConfig = {
|
||||
...cookieConfig,
|
||||
path: "/",
|
||||
maxAge: 60 * 10
|
||||
}
|
||||
Reference in New Issue
Block a user