Supabase auth with Nextjs13, need to persist cookie past session
getUser() function.
No where do I have access to edit these cookies (or do I?). So my problem is that cookie that supabase creates has an expiry/max age of "session" so my user gets signed out everytime they close the browser (ie end a session). How do I edit that and make it never expire?...Best way to fetch a range of items
Get image size using UploadThing
onUploadProgress onClientUploadComplete and onUploadError, but no sort of preflight callback where I can read the file's buffer.
Another option could be server side, once the file is uploaded, call a server function which gets passed the uploadthing url and does a HTTP get to work out the size....Creating logout as next-auth?
Next-Auth
Struggling to Integrate Stripe for Payments in TypeScript Next.js E-Commerce App
containerization
Issue with UploadThing
utapi.listFiles() and I see more images than what I see on the dashboard.
I'm trying to use those fileKeys to delete the unlinked ones, i get a success:true answer but I can still see those files on the dashboard.
Are you aware of a problem or do you think i'm doing something wrong?...Adding roles to Next Auth when using Discord or Facebook providee
How to make a lists of multiple data types with overlapping IDs
Foo and Bar and I want to show a list containing elements of both. The problem is that both Foo and Bar begin incrementing IDs from 0, so I can't set key={foobar.id} . I would like each key to be foo-${foobar.id} if the object is of type Foo OR bar-${foobar.id} if the object is of type Bar.
I tried Googling this and I tried instanceof and is in a ternary, but I still couldn't get it to work....Hydration Failed Error in Next.js: Mismatch Between Server and Client Rendered HTML
How to implement session-based auth in NextJS13 without services like Nextauth/clerk/supabase etc
The thing is, I don't know enough about security/networking practices to understand exactly all the bases I need to cover. Like cross-site-request-forgery etc I have no idea about how to take precaution against. I also don't know the go-to libraries for creating cookies and storing cookies on the client or how any of that works. Does anyone have any resources or experience making auth from scratch in next13 that they could share on how to do something like this? Or is this path even recommended if my goal is to just quickly build, iterate, and market SaaS applications as a solo developer?...
Fetching data from API endpoints
Database Table Design/Layout for Analytics type data?
Typescript errors with `cloneElement`
Performance of Prisma
error passing props to client component?

TrPC + Express + Next 13
Authenicating API routes to be only be request by same-origin Nextjs 13
How To Reduce Bundle Size For Edge?
