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: "/api/callback",
|
||||
maxAge: 60 * 10,
|
||||
};
|
||||
@@ -0,0 +1,6 @@
|
||||
import { clsx, type ClassValue } from "clsx"
|
||||
import { twMerge } from "tailwind-merge"
|
||||
|
||||
export function cn(...inputs: ClassValue[]) {
|
||||
return twMerge(clsx(inputs))
|
||||
}
|
||||
Reference in New Issue
Block a user