# Access token validation failed

**URL:** <https://devforum.okta.com/t/access-token-validation-failed/769>\
**Category:** Questions\
**Created:** [November 16, 2017, 10:51am UTC](https://devforum.okta.com/t/access-token-validation-failed/769 "2017-11-16T10:51:33Z")\
**Posts on this page:** 1\
**Showing post:** 10

<div class="post-metadata">

**Author:** ![dragos](https://sea1.discourse-cdn.com/oktadev/user_avatar/devforum.okta.com/dragos/32/1313_2.png) [@dragos](https://devforum.okta.com/u/dragos)\
**Post date:** [April 13, 2020, 1:40am UTC](https://devforum.okta.com/t/access-token-validation-failed/769/10 "2020-04-13T01:40:12Z")

</div>

Hi @thefedex87

As mentioned [here](https://devforum.okta.com/t/jwt-verification/7483/7), you can use a script like the one available [here](https://github.com/dragosgaftoneanu/okta-php-scripts/blob/master/pem-generator/index.php) to calculate the public key from the modulus and exponent.

---

_[View the full topic](https://devforum.okta.com/t/access-token-validation-failed/769)._
