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, {
|
cookies().set("github_oauth_state", state, {
|
||||||
path: "/",
|
path: "/",
|
||||||
secure: process.env.NODE_ENV === "production",
|
secure: false, //process.env.NODE_ENV === "production",
|
||||||
httpOnly: true,
|
httpOnly: true,
|
||||||
maxAge: ONE_HOUR,
|
maxAge: ONE_HOUR,
|
||||||
sameSite: "lax",
|
sameSite: "lax",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user