Remove unnecessary state from oauth redirect
This commit is contained in:
parent
2668fb4e2a
commit
e5b446ae1d
@ -32,7 +32,7 @@ export async function onRequestPost(context: RequestContext) {
|
|||||||
`http${host.startsWith(
|
`http${host.startsWith(
|
||||||
"localhost" ? "" : "s",
|
"localhost" ? "" : "s",
|
||||||
)}://${host}/api/data-transfers/verify`,
|
)}://${host}/api/data-transfers/verify`,
|
||||||
)}&state=${id}"}`,
|
)}"}`,
|
||||||
{
|
{
|
||||||
headers: {
|
headers: {
|
||||||
"set-cookie": `__dtid=${id}; HttpOnly; Max-Age=3600; Path=/; SameSite=Lax; Secure`,
|
"set-cookie": `__dtid=${id}; HttpOnly; Max-Age=3600; Path=/; SameSite=Lax; Secure`,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user