chek
07/14/2022, 2:35 PM-
don't work in URLs. Really sucks fro those of us using vercel deployments, for example π I'm happy to open a PR to fix but it'd be my first contribution and I'm not familiar with the new interface at all.uneatenauthor
07/14/2022, 3:26 PMe.sh
07/14/2022, 4:01 PMBlade
07/14/2022, 5:26 PMNeedle
07/14/2022, 7:17 PMsb
07/14/2022, 8:08 PMsixfour
07/14/2022, 8:37 PMsb
07/14/2022, 8:54 PMBicijay
07/14/2022, 10:41 PMLukas
07/15/2022, 12:04 AM_app.tsx
so I can use pages as normal (essentially I want to pass session
from _app)ak4zh
07/15/2022, 2:31 AMLeonardo-ironeko
07/15/2022, 7:16 AMSTILLWATER;
07/15/2022, 7:47 AMKeooo
07/15/2022, 8:10 AMMaji
07/15/2022, 9:54 AMhttps://localhost:3000/db.****************.supabase.co/auth/v1/authorize?provider=twitter
Here are my supabase and twitter oauth configπ’ππ¦π¦ππ«π€π©π¬
07/15/2022, 10:05 AMPuaki
07/15/2022, 12:07 PMgesusc
07/15/2022, 1:18 PMBlade
07/15/2022, 4:03 PMTypeError: Cannot read properties of null (reading 'split')
Code in question:
js
if (session) {
const response = await fetch("http://localhost:3000/api/auth/callback", {
method: "POST",
headers: new Headers({ "Content-Type": "application/json" }),
credentials: "same-origin",
body: JSON.stringify({ event: "SIGNED_IN", session })
});
// TODO: Add helper inside of auth-helpers-sveltekit library to manage this better
const cookies = response.headers
.get("set-cookie")
.split("SameSite=Lax, ")
.map((cookie) => {
if (!cookie.includes("SameSite=Lax")) {
cookie += "SameSite=Lax";
}
return cookie;
});
headers["Set-Cookie"] = cookies;
}
Akuma
07/15/2022, 4:20 PMviv
07/15/2022, 5:38 PMbhaskar
07/15/2022, 6:10 PMnew row violates row-level security policy for table "prices"
i deleted all the policies as well, still getting itNeedle
07/15/2022, 7:43 PMJoshios
07/15/2022, 7:50 PMReact noob
07/16/2022, 12:31 AMjs
{
"message": "invalid input syntax for type real: \"\"",
"code": "22P02",
"details": null,
"hint": null
}`
Sillvva
07/16/2022, 1:51 AMupdate
, upload + upsert
, delete + upload
. I've also tried setting cacheControl: '10'
. The upload seems to be successful, because the Last modified at
field updates in every case, but when the file is downloaded from the Supabase storage UI or read via the API, I am seeing the content of the previous version of the file. Can somebody explain why this is happening and how to fix that?AlanK
07/16/2022, 3:06 AMError: Endpoint method "post" has changed to "POST". See https://github.com/sveltejs/kit/discussions/5359 for more information.
at file:///C:/Users/AlanK/Documents/Projects/CommunityMapping/BurrellCreek/Code/sveltekit_new/mulligans-lane-vercel-v3/.svelte-kit/output/server/index.js:163:13
at Array.forEach (<anonymous>)
at check_method_names (file:///C:/Users/AlanK/Documents/Projects/CommunityMapping/BurrellCreek/Code/sveltekit_new/mulligans-lane-vercel-v3/.svelte-kit/output/server/index.js:160:42)
at render_endpoint (file:///C:/Users/AlanK/Documents/Projects/CommunityMapping/BurrellCreek/Code/sveltekit_new/mulligans-lane-vercel-v3/.svelte-kit/output/server/index.js:193:3)
at resolve (file:///C:/Users/AlanK/Documents/Projects/CommunityMapping/BurrellCreek/Code/sveltekit_new/mulligans-lane-vercel-v3/.svelte-kit/output/server/index.js:2232:59)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async handle (file:///C:/Users/AlanK/Documents/Projects/CommunityMapping/BurrellCreek/Code/sveltekit_new/mulligans-lane-vercel-v3/node_modules/@supabase/auth-helpers-sveltekit/dist/handlers/logout.js:9:19)
at async user (file:///C:/Users/AlanK/Documents/Projects/CommunityMapping/BurrellCreek/Code/sveltekit_new/mulligans-lane-vercel-v3/node_modules/@supabase/auth-helpers-sveltekit/dist/handlers/user.js:7:21)
at async handle (file:///C:/Users/AlanK/Documents/Projects/CommunityMapping/BurrellCreek/Code/sveltekit_new/mulligans-lane-vercel-v3/node_modules/@supabase/auth-helpers-sveltekit/dist/handlers/callback.js:9:19)
at async session (file:///C:/Users/AlanK/Documents/Projects/CommunityMapping/BurrellCreek/Code/sveltekit_new/mulligans-lane-vercel-v3/node_modules/@supabase/auth-helpers-sveltekit/dist/handlers/session.js:81:20)
magicss
07/16/2022, 12:14 PMmattd
07/16/2022, 1:09 PMBicijay
07/16/2022, 1:30 PM