DEV Community

Cover image for Implementing Supabase Auth in Next13 with Prisma

Implementing Supabase Auth in Next13 with Prisma

Mihai-Adrian Andrei on October 23, 2023

Introduction Authentication is a critical aspect of many web applications, and it can sometimes be a complex task. In this article, I wi...
Collapse
 
mark_dioneebulingit_8104 profile image
Mark Dionee Bulingit

I'm getting error

Route "/" used `cookies().get('sb-nklxuollvnapxtvqxkgi-auth-token')`. `cookies()` should be awaited before using its value. Learn more: https://nextjs.org/docs/messages/sync-dynamic-apis   
    at createCookiesAccessError (webpack-internal:///(rsc)/./node_modules/next/dist/server/request/cookies.js:381:12)
Enter fullscreen mode Exit fullscreen mode
Collapse
 
edavalosanaya profile image
Eduardo Davalos Anaya

Thanks for the blog, create work!

Quick question, how could I use seed.ts to add test data that syncs users from both public and auth schemas?