# Auth0 access token is missing the JWS payload

**URL:** <https://community.auth0.com/t/auth0-access-token-is-missing-the-jws-payload/71674>\
**Category:** JWT.io\
**Tags:** jwt, login, auth0\
**Created:** [October 20, 2021, 4:58pm UTC](https://community.auth0.com/t/auth0-access-token-is-missing-the-jws-payload/71674 "2021-10-20T16:58:27Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![sarunas.marozas1](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/sarunas.marozas1/32/32455_2.png) [@sarunas.marozas1](https://community.auth0.com/u/sarunas.marozas1)\
**Post date:** [October 20, 2021, 4:58pm UTC](https://community.auth0.com/t/auth0-access-token-is-missing-the-jws-payload/71674/1 "2021-10-20T16:58:27Z")

</div>

Hi,

The access token issued by Auth0 is missing the middle part. It is a JWT token and JWT tokens are made of three parts and the part called JWS payload is missing.

The token looks something like this:  
QAIOPJhbGciOiJkaXwwiLCJlbmMiOiJBMjU2R0NNIiwiaXNzIjoiaHR0cHM6LPOPOIhc2VlLXNzby1wb2MuZXUuYXV0aDAuY29tLyJ9…DHomwSRXYQAcRm4q.KcqMl50fHTADADydfmRWf2vvSr\_QaBpc8c\_Smks5G8MlfWytuTd0paeBYxC3wojPY4hn0BarpN3qv4DDFREq1uGGZGkhWs0Pc67Hke3XndebV165ie9MtH5w1flLq\_1pAh0PLOIY6a79yE\_oT5jXrjw1vIgK1v4poS7kYsCC8. You can see there is a “…” part there which should be the payload.

What could be the issue?

I am logging in my users via React SDK and I am using Google as the social provider ([Auth0 React SDK for Single Page Apps](https://auth0.com/docs/libraries/auth0-react)). The JSW payload was missing before and is still missing after I set up my project in the Google Console.

---

<div class="post-metadata">

**Author:** ![dan.woda](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dan.woda/32/18340_2.png) [@dan.woda](https://community.auth0.com/u/dan.woda)\
**Post date:** [October 20, 2021, 8:37pm UTC](https://community.auth0.com/t/auth0-access-token-is-missing-the-jws-payload/71674/3 "2021-10-20T20:37:53Z")

</div>

Hi @sarunas.marozas1,

Welcome to the Auth0 Community!

I understand you are seeing a malformed JWT.

Can you please send me a sample token you are receiving in a DM?

---

<div class="post-metadata">

**Author:** ![sarunas.marozas1](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/sarunas.marozas1/32/32455_2.png) [@sarunas.marozas1](https://community.auth0.com/u/sarunas.marozas1)\
**Post date:** [October 21, 2021, 2:49pm UTC](https://community.auth0.com/t/auth0-access-token-is-missing-the-jws-payload/71674/5 "2021-10-21T14:49:36Z")

</div>

Hey,

Can we do something about this? I re-checked the app settings several times and even started to use google’s social production keys. But still the JWS payload is missing. I can not validate the tokens in my API.

---

<div class="post-metadata">

**Author:** ![dan.woda](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dan.woda/32/18340_2.png) [@dan.woda](https://community.auth0.com/u/dan.woda)\
**Post date:** [October 21, 2021, 3:15pm UTC](https://community.auth0.com/t/auth0-access-token-is-missing-the-jws-payload/71674/6 "2021-10-21T15:15:50Z")

</div>

I responded in the DM, we can work through it there until we find a resolution.

---

<div class="post-metadata">

**Author:** ![dan.woda](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dan.woda/32/18340_2.png) [@dan.woda](https://community.auth0.com/u/dan.woda)\
**Post date:** [October 26, 2021, 2:30pm UTC](https://community.auth0.com/t/auth0-access-token-is-missing-the-jws-payload/71674/7 "2021-10-26T14:30:13Z")

</div>

This was resolved in a DM. The JWT being returned was an encrypted token ([JWE](https://datatracker.ietf.org/doc/html/rfc7516)).

By passing an `audience` parameter it is possible to return an unencrypted JWT.

---

<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:** [November 10, 2021, 2:30pm UTC](https://community.auth0.com/t/auth0-access-token-is-missing-the-jws-payload/71674/8 "2021-11-10T14:30:58Z")

</div>

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