Animine
KKinde
•Created by Abel Trần on 10/6/2024 in #💻┃support
Issue with getKindeServerSession().refreshTokens(); in Next.js App Router
I havent tried the exact same thing. I will do that now, and let you know here.
28 replies
KKinde
•Created by Abel Trần on 10/6/2024 in #💻┃support
Issue with getKindeServerSession().refreshTokens(); in Next.js App Router
I have the exact same issuse. I update the user with the kinde API, and refresh the token right after with nextjs SDK. But still seeing old values. It both for when adding / removeing roles / permission.
28 replies
TTCTheo's Typesafe Cult
•Created by Batman! on 7/16/2024 in #questions
Uploadthing file handling
This would ofc mean we would need to use config={{ mode: "manual" }} or something like that so the images would not be automaticly uploaded when you drag'n'drop a file.
11 replies
TTCTheo's Typesafe Cult
•Created by Batman! on 7/16/2024 in #questions
Uploadthing file handling
That would work i guess. I think the correct way is to have a hook from uploadthing like import {UploadFiles} from "utapi"
Then you can simple run UploadFiles(files) when the product was successfully created.
11 replies
TTCTheo's Typesafe Cult
•Created by Batman! on 7/16/2024 in #questions
Uploadthing file handling
Good idea. That would work for me aswell for now. Still i thibk uploadthing should make a real solution to this.
11 replies
TTCTheo's Typesafe Cult
•Created by Batman! on 7/16/2024 in #questions
Uploadthing file handling
@Boneman Yo my guy! I have the exact same problem. When a admin creates a new product for the store, and leaves / refreshes the page. The images that were uploaded is now in the void costing us unnecessary storage costs 😦
I will let you know if i find a fix. Mabye we should make this an issue on the github, if there is no fix.
11 replies