NextJS Example invalid JWT

Ready to post? :mag: First, try searching for your answer.
I think I’m missing something here, but the quickstart at Auth0 Next.js SDK Quickstarts: Add Login to your Next.js application works fine, but the bearer tokens that are created don’t seem to be valid JWT, they are JWE or something else. Is there any documentation on how to get the SDK to provide actual JWT?

Hey there @firebelly welcome to the community!

The access token you’re getting back is most likely opaque as the quickstart doesn’t include an audience param.

You’ll need to pass an audience param in authorizationParams:

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.