# Receiving JWE token instead of JWT in Next.js app session

**URL:** <https://community.auth0.com/t/receiving-jwe-token-instead-of-jwt-in-next-js-app-session/167855>\
**Category:** JWT.io\
**Tags:** jwt, react, token, unexpected-token, nextjs, auth0\
**Created:** [January 8, 2025, 4:17am UTC](https://community.auth0.com/t/receiving-jwe-token-instead-of-jwt-in-next-js-app-session/167855 "2025-01-08T04:17:26Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![dawid.matuszczyk](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dawid.matuszczyk/32/74550_2.png) [@dawid.matuszczyk](https://community.auth0.com/u/dawid.matuszczyk)\
**Post date:** [January 31, 2025, 6:01pm UTC](https://community.auth0.com/t/receiving-jwe-token-instead-of-jwt-in-next-js-app-session/167855/4 "2025-01-31T18:01:53Z")

</div>

Hi team!

This is a heads-up that we’re hosting an [Ask Me Anything (AMA) session dedicated to Auth0 sessions, refresh tokens, and the Management API](https://community.auth0.com/t/feb-12-auth0-community-ask-me-anything-auth0-sessions-and-refresh-tokens/174853). Our product experts will be on hand **February 12, 2025, from 8 AM to 10 AM PST** to answer all your questions—no matter how basic or advanced they may be! You can submit your queries anytime from **now until February 11** , and we’ll provide detailed written answers during the live event.

This is a fantastic opportunity to learn best practices around session management, refresh token rotation, and the Management API. Plus, everyone who participates gets **points and a special badge** just for joining in on the fun. 🎉

If you have any burning questions (or even casual curiosities!), feel free to drop them in [this thread](https://community.auth0.com/t/feb-12-auth0-community-ask-me-anything-auth0-sessions-and-refresh-tokens/174853). We can’t wait to see what you’re working on and how we can help you optimize your Auth0 setup. See you there!

[Auth0 Community Ask Me Anything: Auth0 Sessions and Refresh Tokens](https://community.auth0.com/t/feb-12-auth0-community-ask-me-anything-auth0-sessions-and-refresh-tokens/174853)

---

_[View the full topic](https://community.auth0.com/t/receiving-jwe-token-instead-of-jwt-in-next-js-app-session/167855)._
