KindeK
Kinde2y ago
8 replies
DAvid

Nuxt DB connection

I am using the Kinde Nuxt SDK and want to know the simplest way to connect a kinde-authed user to a DB to show their unique data? For simplicity I have set up an SQL lite DB with Prisma.

I have noticed that the Next SDK is checking for the server session using the following import statement, but this is not obvious in the Nuxt SDK?

import {getKindeServerSession} from "@kinde-oss/kinde-auth-nextjs/server";

@Oli - Kinde I noticed you recommended webhooks for another Nuxt user.

Thanks!
Was this page helpful?