maybe workaround to fix state
This commit is contained in:
parent
ff77d013eb
commit
16238dc8ba
@ -11,7 +11,7 @@ export async function GET(): Promise<Response> {
|
||||
|
||||
cookies().set("github_oauth_state", state, {
|
||||
path: "/",
|
||||
secure: process.env.NODE_ENV === "production",
|
||||
secure: false, //process.env.NODE_ENV === "production",
|
||||
httpOnly: true,
|
||||
maxAge: ONE_HOUR,
|
||||
sameSite: "lax",
|
||||
|
Loading…
x
Reference in New Issue
Block a user