# Error in secret or public key callback

**URL:** <https://community.auth0.com/t/error-in-secret-or-public-key-callback/85817>\
**Category:** JWT.io\
**Tags:** jwt\
**Created:** [June 23, 2022, 4:20pm UTC](https://community.auth0.com/t/error-in-secret-or-public-key-callback/85817 "2022-06-23T16:20:51Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![nitzanl](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/nitzanl/32/38340_2.png) [@nitzanl](https://community.auth0.com/u/nitzanl)\
**Post date:** [June 23, 2022, 4:20pm UTC](https://community.auth0.com/t/error-in-secret-or-public-key-callback/85817/1 "2022-06-23T16:20:51Z")

</div>

I’ve get thise error while trying to verify an JWT token, what can cause this error? 🙂  
`error in secret or public key callback: Unable to find a signing key that matches '......'`

---

<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:** [June 28, 2022, 5:03pm UTC](https://community.auth0.com/t/error-in-secret-or-public-key-callback/85817/3 "2022-06-28T17:03:42Z")

</div>

Hi @nitzanl,

This error indicates there is not a key that matches the signature on your token. It’s hard to know much more than that from the info provided.

---

<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:** [May 11, 2023, 12:58pm UTC](https://community.auth0.com/t/error-in-secret-or-public-key-callback/85817/4 "2023-05-11T12:58:39Z")

</div>


