What is the approach of managing their own data?
I've tried the following one but just failes with 401

select when using maybeSingle()session is null on the client as I am using astro for server side signing in.selectmaybeSingle() const { data } = await supabase
.from("course_progress")
.select("id")
.eq("course_id", courseId)
.eq("user_id", userId)
.maybeSingle();
const {error} = await supabase.from("course_progress").upsert({
id: data?.id,
user_id: userId,
course_id: courseId,
progress: progress,
});session