Pages router -> req.headers(). App router ?
Unanswered
Dovekie posted this in #help-forum
DovekieOP
Hello everyone. I'm trying to integrate my NextJS app with clerk by following their example here: https://clerk.com/docs/users/sync-data
They use
My app is using the app router and so far I've tried using various fields from
Any ideas ?
They use
request.headers to get the headers of the request with the pages router.My app is using the app router and so far I've tried using various fields from
headers() but I keep getting an error.Any ideas ?