# Empty Payload in Access Token using Next.js

**URL:** <https://community.auth0.com/t/empty-payload-in-access-token-using-next-js/134526>\
**Category:** Get Help\
**Tags:** sdks-quickstarts, nextjs-auth0\
**Created:** [May 19, 2024, 7:02pm UTC](https://community.auth0.com/t/empty-payload-in-access-token-using-next-js/134526 "2024-05-19T19:02:07Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![workize.io](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/workize.io/32/55197_2.png) [@workize.io](https://community.auth0.com/u/workize.io)\
**Post date:** [May 19, 2024, 7:02pm UTC](https://community.auth0.com/t/empty-payload-in-access-token-using-next-js/134526/1 "2024-05-19T19:02:07Z")

</div>

Hello! I am running in the same issue. I have just followed the documentation [Auth0 Next.js SDK Quickstarts: Login](https://auth0.com/docs/quickstart/webapp/nextjs/01-login) and for some reason, my token does not have a payload.

---

<div class="post-metadata">

**Author:** ![ty.frith](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/ty.frith/32/58484_2.png) [@ty.frith](https://community.auth0.com/u/ty.frith)\
**Post date:** [May 20, 2024, 4:52pm UTC](https://community.auth0.com/t/empty-payload-in-access-token-using-next-js/134526/3 "2024-05-20T16:52:20Z")

</div>

Hey there @workize.io welcome to the community! I’ve moved your reply over to it’s own topic 🙂

The quickstart covers a simplified login which doesn’t include passing an audience param - This audience param is the same as the API identifier for any APIs you have registered in Auth0 and is required to receive a non-[opaque](https://auth0.com/docs/secure/tokens/access-tokens#opaque-access-tokens) access token. See below for details:

> <https://github.com/auth0/nextjs-auth0/blob/main/EXAMPLES.md#access-an-external-api-from-an-api-route>

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [August 8, 2024, 10:37pm UTC](https://community.auth0.com/t/empty-payload-in-access-token-using-next-js/134526/4 "2024-08-08T22:37:38Z")

</div>

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