I am working on a nextjs app that needs to call an external API as described in How to Authenticate with Next.js and Auth0: A Guide for Every Deployment Model
The access token that I am receiving does not seem to be a JWT valid token, and I am not sure if its really an opaque token either (it has 32 characters). I tried validating the token against the /userinfo endpoint, but I am getting a 401.
Would you mind sharing a sample on how the external BillingAPI mentioned in the next js tutorial would validate the received token?
Thanks!
