79508637

Date: 2025-03-14 09:40:53
Score: 1
Natty:
Report link

Hey I was also having the same video/issue

The auth is being exported from @clerk/nextjs/server Updated doc on auth()and it is asynchronous function

use this while importing it

import { auth } from "@clerk/nextjs/server"

and

const page = async () => {

const { userId } = await auth(); ... }

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Khushal Agarwal