Getting logins_count from management api from Next.js API route (using pages router)

Hi @jeff14,

Welcome to the Auth0 Community!

In your request, is the token expired? You can decode it at jwt.io and look at the payload to see if everything is looking correct.