# Understanding RS256 Tokens

**URL:** <https://community.auth0.com/t/understanding-rs256-tokens/91207>\
**Category:** Get Help\
**Tags:** auth0-spa-js\
**Created:** [September 23, 2022, 3:51pm UTC](https://community.auth0.com/t/understanding-rs256-tokens/91207 "2022-09-23T15:51:25Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![mhamrah](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/mhamrah/32/40207_2.png) [@mhamrah](https://community.auth0.com/u/mhamrah)\
**Post date:** [September 23, 2022, 3:51pm UTC](https://community.auth0.com/t/understanding-rs256-tokens/91207/1 "2022-09-23T15:51:25Z")

</div>

I’m using the auth0-spa-js library using RS256 signing, and I’m seeing tokens with five parts (four periods). Snippet below. This seems to go against the three-part JWT structure. I’m curious what the deal is here? Can’t find any documentation on how the structure would change for this signing and how to verify.

This is the exact payload that was returned after calling `getTokenSilently()`:

`eyJhbGciOiJkaXIiLCJlbmMiOiJBMjU2R0NNIiwiaXNzIjoiaHR0cHM6Ly9oYW1yYWguYXV0aDAuY29tLyJ9..8eNPbSQoVv0qKBKA.gv9d1TK5iJVDKgzWDuOBTDrCr39UkcKp4wvj-yZg-mS48kQpvg9mxmo05sCm2V5JKfaTDqKvcnOGp4o97aItDQNJxIfPhw5Id86XXicSljnewJ_bbV5DEG3q4VYkm9dapWyRuQW3Fx3i0KzTIJ0YClK7oaD8E6o8SavIFrNwOw2zhtXVX4a1xpIHJFYdNTmAUJ3Eo6EwHDiaW31BWw8BIKeKRN1FHnqO1IlLCgxi_qA3HM3rvLPJJuqBXaYBPZnMO2m07MlnkqpKHY7O-2GovktfY7UHTpyeBms6hPn8VXF061tmzA.pBt4_0LMVg78B7a9UzdkHg`

---

<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:** [September 23, 2022, 11:55pm UTC](https://community.auth0.com/t/understanding-rs256-tokens/91207/3 "2022-09-23T23:55:34Z")

</div>

Hello there @mhamrah welcome to the community!

> [@mhamrah](#):
>
> This seems to go against the three-part JWT structure. I’m curious what the deal is here?

It looks like you’re receiving an [opaque access token](https://auth0.com/docs/secure/tokens/access-tokens#opaque-access-tokens) as opposed to a JWT. Are you including a valid audience in your authorize request? The following topics should be of use 🙂

[https://community.auth0.com/t/what-is-the-audience/71414](https://community.auth0.com/t/what-is-the-audience/71414)

[https://community.auth0.com/t/why-is-my-access-token-not-a-jwt-opaque-token/31028](https://community.auth0.com/t/why-is-my-access-token-not-a-jwt-opaque-token/31028)

---

<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:** [October 7, 2022, 11:56pm UTC](https://community.auth0.com/t/understanding-rs256-tokens/91207/4 "2022-10-07T23:56:27Z")

</div>

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