# JWE received instead of standard JWS

**URL:** <https://community.auth0.com/t/jwe-received-instead-of-standard-jws/142142>\
**Category:** Get Help\
**Tags:** rotating-refresh-tokens, sessions\
**Created:** [August 30, 2024, 4:32am UTC](https://community.auth0.com/t/jwe-received-instead-of-standard-jws/142142 "2024-08-30T04:32:58Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![gokul.er137](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/gokul.er137/32/59523_2.png) [@gokul.er137](https://community.auth0.com/u/gokul.er137)\
**Post date:** [August 30, 2024, 4:32am UTC](https://community.auth0.com/t/jwe-received-instead-of-standard-jws/142142/1 "2024-08-30T04:32:58Z")

</div>

I am on the free tier so I don’t have JWE enabled. However, when setting up access tokens for session management, [jwt.io](http://jwt.io) indicates that my token is encrypted (it starts off like ey…).

So, I am not sure how to get a standard JWS token that is unencrypted. Or, if I can get the encryption key it can be decrypted.

Can anyone guide me towards one or the other?

I am using NextJS + React, fwiw.

Happy to provide any other information. Thanks!

---

<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:** [August 30, 2024, 8:27pm UTC](https://community.auth0.com/t/jwe-received-instead-of-standard-jws/142142/3 "2024-08-30T20:27:42Z")

</div>

Hey there @gokul.er137 welcome to the community!

> [@gokul.er137](#):
>
> I am on the free tier so I don’t have JWE enabled. However, when setting up access tokens for session management, [jwt.io](http://jwt.io) indicates that my token is encrypted (it starts off like ey…).

I have a feeling that the token isn’t a JWE but instead [opaque](https://auth0.com/docs/secure/tokens/access-tokens#opaque-access-tokens) - Is the signing algorithm at [jwt.io](http://jwt.io) `dir` by any chance? If so, then you’re likely missing an [audience](https://community.auth0.com/t/what-is-the-audience/71414) param in your configuration. You can pass the audience in `authorizationParams`:

> **[AuthorizationParams | @auth0/auth0-react](https://auth0.github.io/auth0-react/interfaces/AuthorizationParams.html#audience)**
>
> Documentation for @auth0/auth0-react

---

<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:** [September 13, 2024, 8:28pm UTC](https://community.auth0.com/t/jwe-received-instead-of-standard-jws/142142/4 "2024-09-13T20:28:28Z")

</div>

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