# Invalid Signature

**URL:** <https://community.auth0.com/t/invalid-signature/106493>\
**Category:** JWT.io\
**Tags:** invalid-signature, jwt\
**Created:** [May 9, 2023, 9:42am UTC](https://community.auth0.com/t/invalid-signature/106493 "2023-05-09T09:42:38Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![chay.n1006](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/chay.n1006/32/45760_2.png) [@chay.n1006](https://community.auth0.com/u/chay.n1006)\
**Post date:** [May 9, 2023, 9:42am UTC](https://community.auth0.com/t/invalid-signature/106493/1 "2023-05-09T09:42:38Z")

</div>

Hi, when I opened [Jwt.io](http://Jwt.io) the default token is showing Signature Verified  
after copying the default token if I again paste it in the Encoded section it is showing signature as invalid  
please have a look at the below screenshots for a clear understanding

 ![Screenshot_4](https://global.discourse-cdn.com/auth0/original/3X/c/5/c55eb878b42946f609d572c50813eb5aa23138fc.png)  
 ![Screenshot_1](https://global.discourse-cdn.com/auth0/original/3X/f/f/ff262f9bfe2c564204626ff61d1253d3d6113f60.png)

---

<div class="post-metadata">

**Author:** ![rueben.tiow](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/rueben.tiow/32/11646_2.png) [@rueben.tiow](https://community.auth0.com/u/rueben.tiow)\
**Post date:** [May 10, 2023, 3:43am UTC](https://community.auth0.com/t/invalid-signature/106493/3 "2023-05-10T03:43:16Z")

</div>

Hi @chay.n1006,

Welcome to the Auth0 Community!

> [@chay.n1006](#):
>
> after copying the default token if I again paste it in the Encoded section it is showing signature as invalid

I have tested your observations on my end but did not get the same results. Instead, when I copy and paste the default token back into the encoded section on [jwt.io](http://jwt.io), I get a valid signature both times.

After looking at your screenshot, it also looks like the token in both images is the same but throws an invalid signature error.

Given that, could you please clarify what happens when you refresh the page?

And what happens if you try to decode a legitimate token?

I look forward to your reply.

Thanks,  
Rueben

---

<div class="post-metadata">

**Author:** ![chay.n1006](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/chay.n1006/32/45760_2.png) [@chay.n1006](https://community.auth0.com/u/chay.n1006)\
**Post date:** [May 10, 2023, 5:14am UTC](https://community.auth0.com/t/invalid-signature/106493/4 "2023-05-10T05:14:08Z")

</div>

Hi @rueben.tiow

Scenario 1: If I try to reload the page it shows as a signature verified

 ![Screenshot_2](https://global.discourse-cdn.com/auth0/original/3X/c/b/cb936c75f364dcd8b8cff0d916ed28cf06b2e455.png)

Scenario 2: if I try to decode a legitimate token it shows a signature valid

 ![decode](https://global.discourse-cdn.com/auth0/original/3X/0/e/0e68ff094bcfdd6be0c2af30711634e1ff69c91d.png)

problem is if I try to copy or cut and paste the token it shows as an invalid Signature

 ![invalid](https://global.discourse-cdn.com/auth0/original/3X/5/c/5ccdd9a2f1af149196ab538f31aba20a397932bd.png)

please provide a valid solution for my query as early as possible

---

<div class="post-metadata">

**Author:** ![chay.n1006](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/chay.n1006/32/45760_2.png) [@chay.n1006](https://community.auth0.com/u/chay.n1006)\
**Post date:** [May 11, 2023, 5:11am UTC](https://community.auth0.com/t/invalid-signature/106493/5 "2023-05-11T05:11:59Z")

</div>

Hi @rueben.tiow any update on my query i am eagerly waiting for solution from your end

---

<div class="post-metadata">

**Author:** ![chay.n1006](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/chay.n1006/32/45760_2.png) [@chay.n1006](https://community.auth0.com/u/chay.n1006)\
**Post date:** [May 12, 2023, 4:43am UTC](https://community.auth0.com/t/invalid-signature/106493/6 "2023-05-12T04:43:49Z")

</div>

Hi @rueben.tiow please look at my problem i got stuck with my work it is a blocker for me

---

<div class="post-metadata">

**Author:** ![rueben.tiow](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/rueben.tiow/32/11646_2.png) [@rueben.tiow](https://community.auth0.com/u/rueben.tiow)\
**Post date:** [May 12, 2023, 6:44pm UTC](https://community.auth0.com/t/invalid-signature/106493/7 "2023-05-12T18:44:50Z")

</div>

Hi @chay.n1006,

Thank you for your responses.

I have collaborated with my colleagues on this one and could not reproduce the issue you mentioned. We suspect this may be happening from the way the token is being copied and pasted not in the expected `base64UrlEncode` format.

Because you can decode an actual token without issues, could I ask what you are looking to do with the default token?

And could you also please try using a different web browser or device to see if this issue is reproducible?

I look forward to your update.

Thanks,  
Rueben

---

<div class="post-metadata">

**Author:** ![chay.n1006](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/chay.n1006/32/45760_2.png) [@chay.n1006](https://community.auth0.com/u/chay.n1006)\
**Post date:** [May 15, 2023, 5:03am UTC](https://community.auth0.com/t/invalid-signature/106493/8 "2023-05-15T05:03:58Z")

</div>

Hi, @rueben.tiow I tried with different browsers still the issue is same with my system. I work as a developer we use tokens for API so when I copied my token into JWT I am facing a signature invalid so to explain the issue I took the default token as an example

---

<div class="post-metadata">

**Author:** ![chay.n1006](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/chay.n1006/32/45760_2.png) [@chay.n1006](https://community.auth0.com/u/chay.n1006)\
**Post date:** [May 17, 2023, 6:35am UTC](https://community.auth0.com/t/invalid-signature/106493/9 "2023-05-17T06:35:14Z")

</div>

Hi @rueben.tiow ,

can you please help me with this issue

I look forward to your update.

Thanks,  
Chay

---

<div class="post-metadata">

**Author:** ![chay.n1006](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/chay.n1006/32/45760_2.png) [@chay.n1006](https://community.auth0.com/u/chay.n1006)\
**Post date:** [May 23, 2023, 11:06am UTC](https://community.auth0.com/t/invalid-signature/106493/10 "2023-05-23T11:06:23Z")

</div>

Hi @rueben.tiow ,

any update on my issue

I look forward to your update.

Thanks,  
Chay

---

<div class="post-metadata">

**Author:** ![rueben.tiow](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/rueben.tiow/32/11646_2.png) [@rueben.tiow](https://community.auth0.com/u/rueben.tiow)\
**Post date:** [May 26, 2023, 6:02pm UTC](https://community.auth0.com/t/invalid-signature/106493/11 "2023-05-26T18:02:36Z")

</div>

Hi @chay.n1006,

Thank you for your responses and I apologize for my late reply.

> [@chay.n1006](#):
>
> I tried with different browsers still the issue is same with my system. I work as a developer we use tokens for API so when I copied my token into JWT I am facing a signature invalid so to explain the issue I took the default token as an example

In this case, would it be possible for you to generate a JWT token and send it to me as a direct message? I would like to see if I can decode it on my side, and narrow down some possibilities on why you are getting an invalid signature when decoding your access token and work towards a resolution.

I will mention that the default token in the [jwt.io](http://jwt.io) web page should not throw an invalid signature error. Copying and pasting the same token back into the “Encoded” section should produce the same results.

Thanks,  
Rueben

---

<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:** [June 9, 2023, 6:03pm UTC](https://community.auth0.com/t/invalid-signature/106493/12 "2023-06-09T18:03:13Z")

</div>

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