Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Remove unnecessary state from oauth redirect
  • Loading branch information
regalijan committed Nov 21, 2023
1 parent 2668fb4 commit e5b446a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion functions/api/data-transfers/create.ts
Expand Up @@ -32,7 +32,7 @@ export async function onRequestPost(context: RequestContext) {
`http${host.startsWith(
"localhost" ? "" : "s",
)}://${host}/api/data-transfers/verify`,
)}&state=${id}"}`,
)}"}`,
{
headers: {
"set-cookie": `__dtid=${id}; HttpOnly; Max-Age=3600; Path=/; SameSite=Lax; Secure`,
Expand Down

0 comments on commit e5b446a

Please sign in to comment.